MsgBox and findrecord (1 Viewer)

bodvoc

Red Sea Pedestrian
Local time
Today, 01:47
Joined
May 4, 2003
Messages
54
Hi All

Does any one know a way of getting docmd.findrecord to use a msgbox that prompts for the search criteria??

Or am I barking up the wrong lamp-post, :confused: just need a simple way to find a person or address in a Doctors db.

Thanks

Bodvoc
 

dcx693

Registered User.
Local time
Yesterday, 20:47
Joined
Apr 30, 2003
Messages
3,265
You can't force DoCmd.FindRecord to use MsgBox, but you can use the MsgBox function to request info from the user that can then be used by FindRecord to find your record. Look up the MsgBox function in the Access online help. In addition to looking at the FindRecord method, you should also look at the help topic for the FindRecord macro action, as they macro help tends to be more thorough.
 

soundsfishy

Registered User.
Local time
Today, 10:47
Joined
Sep 25, 2002
Messages
174
Hi BodVac,

you will find a sample of an input message box in this sample.
 

Attachments

  • find employeesample.zip
    62.7 KB · Views: 326

bodvoc

Red Sea Pedestrian
Local time
Today, 01:47
Joined
May 4, 2003
Messages
54
Thanks Guys

Thanks guys will check it out

Bodvoc
 

Users who are viewing this thread

Top Bottom