Changes to msgbox, Help!

SteveD

Registered User.
Local time
Today, 06:38
Joined
May 11, 2001
Messages
29
Hi everyone,

I'm new to Access & VBA and I would appreciate some help! I've put a little bit of code in the 'on load' event of a subform so that when the form is opened and there are no records to show a message box appears to say something along the lines of 'sorry no information to display'. This was working fine until I changed the text to appear in the message box-now I get two message boxes, one with the old text appearing and one with the new text appearing. It's driving me crazy-I don't know why it should do this, can anybody help?
 
Hi Steve,


The only thing I could think of is that you have one message box in your form and one in your subform. Whatever the case, from the main database window, click on forms. Then click the code button on your tool bar, this will bring up all event procedure and wizard created code for all your forms. Just hit the binoculars or a ctrl + f and search for the text "MsgBox", on the left it should ask you where to search select entire project. Then hopefully you will find the old instance of your code and can delete it.


HTH
Robert

[This message has been edited by Robert Saye (edited 05-31-2001).]
 

Users who are viewing this thread

Back
Top Bottom