Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

Help with SearchForRecord

$
0
0
I have a form that I would like to use to update training information for my company's employees. There are two cases:
1) The employee already has a record for the training but the date needs to be changed.
2) The employee needs a record added for that training.

In the form I have combo boxes for selecting the employee and the specific training from existing tables. If a training record exists for that employee/training combination, I would like the date_completed to auto-populate. Otherwise, I would like a record to be created in the appropriate table.

I think I can use SearchForRecord to locate the correct record in the training completed table and pull the date from there, but I'm not sure how to phrase the code.

All suggestions appreciated!

Viewing all articles
Browse latest Browse all 13329

Trending Articles