Jump to content

Determining if a File is open on the current computer?


This topic is 770 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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

Link to comment
Share on other sites

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 by Geoffrey Gerhard
  • Plus1 1
Link to comment
Share on other sites

This topic is 770 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.