Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Global AccpacDBLink object 1

Status
Not open for further replies.

JoeAtWork

Programmer
Jul 31, 2005
2,285
CA
I am wondering if I can open an AccpacDBLink object when my program starts up, and keep it open during the life of the application. I would think that is more efficient then opening a new DBLink every time I check for a record, add a record, etc.

Are there any reasons agains doing this?
 
Err, yeah, that's the only way I ever do it. Also consider using two links, one read-write and one read-only. Use the read-only link for lookups and validations, it's faster.

Jay Converse
IT Director
Systemlink, Inc.
 
Thanks Jay, I figured that would be the case. I will only need one read-write open because all the application does is add records.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top