P
PayeDoc
Hello All
I have recently been having some VBA corruption problems, which I have been taking steps to sort out - one of which has been to do Debug>Compile db1 after every amendment I make to any of the code. I have noticed 3 different outcomes of the Debug>Compile db1:
1. Sometimes I get a message "User defined type not defined" - but the cursor does not move to any particular place in the code to give me a clue about what it's on about. Often when this happens, if I just repeat the Debug>Compile db1, it then goes fine, with no message;
2. Sometimes, after doing Debug>Compile db1 and not getting the "User defined type not defined" message, if I then select the Debug menu item I see that the Compile db1 option is greyed out - (which I take to mean that the db is now "in a compiled state");
3. Sometimes, after doing Debug>Compile db1 and not getting the "User defined type not defined" message, if I then select the Debug menu item I see that the Compile db1 option is NOT greyed out: does this mean that the db is NOT "in a compiled state"?
I'm getting a bit out of my comfort zone with this (!), but hope someone can advise me whether I need to be concerned about any of the above.
Thanks for any help.
Leslie Isaacs
I have recently been having some VBA corruption problems, which I have been taking steps to sort out - one of which has been to do Debug>Compile db1 after every amendment I make to any of the code. I have noticed 3 different outcomes of the Debug>Compile db1:
1. Sometimes I get a message "User defined type not defined" - but the cursor does not move to any particular place in the code to give me a clue about what it's on about. Often when this happens, if I just repeat the Debug>Compile db1, it then goes fine, with no message;
2. Sometimes, after doing Debug>Compile db1 and not getting the "User defined type not defined" message, if I then select the Debug menu item I see that the Compile db1 option is greyed out - (which I take to mean that the db is now "in a compiled state");
3. Sometimes, after doing Debug>Compile db1 and not getting the "User defined type not defined" message, if I then select the Debug menu item I see that the Compile db1 option is NOT greyed out: does this mean that the db is NOT "in a compiled state"?
I'm getting a bit out of my comfort zone with this (!), but hope someone can advise me whether I need to be concerned about any of the above.
Thanks for any help.
Leslie Isaacs