dbTalk Databases Forums  

application object variables best practices?

comp.databases.ms-access comp.databases.ms-access


Discuss application object variables best practices? in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Karen Korn
 
Posts: n/a

Default application object variables best practices? - 08-01-2012 , 12:19 PM






Hello

I have a db that exports datasets to Excel many times in a typica use case, i.e. monthy reporting.

The report exports vary enought that I have not been able to build the export procedures into one generic one.

Currently I dim the Excel.Application object in each export and then quit:Set to nothing.

I wonder if I should use a module level variable for excel application? How do I close it and release memory when done using?

Any advice welcome.

K

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.