PDA

View Full Version : Call a procedure on an event



kbsudhir
11-27-2012, 09:08 PM
Hi All,

I am using Access 2010 and have created a web database. I want to call a procedure when one particule form loads. Please guide me on how to do the same. I have currently done the below but of no use,

I wrote a code with name test. Just for testing purposes, the procedure displays a welcome . message in a msgbox. I gave the name of the procedure in the "OnLoad" event of the form. But when the form loads I am getting the following error:

Microsoft Access cannot find the object 'Pursuit_Codes.'

If 'Pursuit_Codes' is a new macro or macro group, make sure you have saved it and that you have typed its name correctly' :banghead: :banghead:

Please guide me on how to fix the same.

Regards
Sudhir

kbsudhir
12-02-2012, 08:17 PM
Any guidance on this will be appreciated