F
FatMax
Form is based on tblNames and includes the field LastName.
On the form I've placed an unbound text box cboSearch and a command
button cmdSearch. Macro attached to the buttons OnClick property has
two actions
GoToControl (arguement: [LastName])
FindRecord (argument: FindWhat=[cboSearch])
Works OK but if no last name matches search criteria nothing happens!
Is it possible to display an error message from the macro if the last
name doesn't exist or do I need to go to code. Would prefer macro as
this is supposed to be used to show 14 year old students some of the
*fun* things that can be done with Access.
FatMax
Suggestions for any other *fun* things welcome!!!
On the form I've placed an unbound text box cboSearch and a command
button cmdSearch. Macro attached to the buttons OnClick property has
two actions
GoToControl (arguement: [LastName])
FindRecord (argument: FindWhat=[cboSearch])
Works OK but if no last name matches search criteria nothing happens!
Is it possible to display an error message from the macro if the last
name doesn't exist or do I need to go to code. Would prefer macro as
this is supposed to be used to show 14 year old students some of the
*fun* things that can be done with Access.
FatMax
Suggestions for any other *fun* things welcome!!!