hi
for the following, shud i use a SELECT query as recordsource or a Dlookup coded into a cmdButton ?
EmpCode: ___ [Find cmdButton]
EmpName: ________
The user enters the empcode in a txtBox_1 and clicks the Find cmdButton. The snippet shud search the table (EmpMaster) for that EmpNo and display the corresponding EmpName.
Thanks.. JB
for the following, shud i use a SELECT query as recordsource or a Dlookup coded into a cmdButton ?
EmpCode: ___ [Find cmdButton]
EmpName: ________
The user enters the empcode in a txtBox_1 and clicks the Find cmdButton. The snippet shud search the table (EmpMaster) for that EmpNo and display the corresponding EmpName.
Thanks.. JB