Compile code

  • Thread starter Thread starter Mark Schirle
  • Start date Start date
M

Mark Schirle

Hi,
I have been using Access97 for years but I have recently upgraded to
Access 2k3. When writing code in 97 I could click the button "compile
loaded modules" to check the code for any problems. In 2k3 the only way
to do this now seems to be compile under the debug menu. This is ok
except it seems to compile the entire database...kind of a waste of
time. Has this button been removed or is it available somewhere.
TIA
 
Mark said:
I have been using Access97 for years but I have recently upgraded to
Access 2k3. When writing code in 97 I could click the button "compile
loaded modules" to check the code for any problems. In 2k3 the only way
to do this now seems to be compile under the debug menu. This is ok
except it seems to compile the entire database...kind of a waste of
time. Has this button been removed or is it available somewhere.


As you've probably noticed, that is just a tiny little
change from the the A97 VB environment. A2K intoduced a
whole new way of managing code that includes a monolithic
save. This means that VB more or less loads all modules and
Compile and save operate on the entire collection. OTOH,
Compile does not bother to compile module that are already
compile and have not been changed, so it's actually a little
better that A97's Compile Loaded modules.
 
Sure, just right click on a blank area of any toolbar,
select Customize and create a new toobar (or use an existing
one) and drag/drop the compile button from the list of Debug
buttons (not from the existing menu bar).
 
Back
Top