dbTalk Databases Forums  

DoCmd.RunCommand acCmdCompileAndSaveAllModules

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


Discuss DoCmd.RunCommand acCmdCompileAndSaveAllModules in the comp.databases.ms-access forum.



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

Default DoCmd.RunCommand acCmdCompileAndSaveAllModules - 01-24-2009 , 06:04 AM






A97

I tried running DoCmd.RunCommand acCmdCompileAndSaveAllModules
from within a procedure in a global module. It fails with a 2046
error. Is it not a command I can use in a running VBA script?

I closed the app, restarted A97, tried again. Same failure.


Reply With Quote
  #2  
Old   
MLH
 
Posts: n/a

Default Re: DoCmd.RunCommand acCmdCompileAndSaveAllModules - 01-24-2009 , 06:33 AM






Duhhhh????

I did not have a module open when I was testing
the line. My bad. Pls excuse.

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 - 2012, Jelsoft Enterprises Ltd.