"Record Focus" Code....or something.....

commandolomo

Registered User.
Local time
Today, 00:07
Joined
Jun 11, 2004
Messages
73
Hello All

As the 'FormLoad' vba runs code when the form is loaded, does anyone know if there is an equilivant peice of code for 'Record Load'? I have a form driven db, where users only have access to the forms - as all good db's should be!

What I want to do is run a bit of code everytime a new record is displayed on a form, and I have tried to use FormLoad and OpenForm modules, but these only run the code the first time the form is loaded/opened, and not everytime a new record is displayed - which is what I want!

Any ideas?

PJL
 
Have you tried OnCurrent()?

kh
 
Damm you guys are good!

Cheers fellas, and good to see a bit of the old 'fastest finger first'!!!

PJL
 

Users who are viewing this thread

Back
Top Bottom