March 14, 20223 yr I'm working on setting up my scripts to handle multiple files. I would like the script to check and see if a user already has the file open in the QuickBooks app on the computer. Would the Function PCQB_GetFileName work for this? If it returns a file name then the Application is open and if not then I can proceed with my scripts? Is there a better way to do this? Thanks Bruce Herbach
March 15, 20223 yr PCQB_GetCurrentFileName should work, as long as each QB Company file has a unique path/name. I don't know of a better way to determine which file is open. I've always insisted clients have a unique Company Name value in QB. My process confirm that value, too, matches before using the API for data transfer in either direction. HTH! Geoffrey Gerhard Creative Solutions Incorporated 14000 Creekside Drive Matthews, NC 28105 704.814.6852 Edited March 15, 20223 yr by Geoffrey Gerhard
Create an account or sign in to comment