Yorksdummy
New member
- Local time
- Today, 15:30
- Joined
- Feb 23, 2015
- Messages
- 4
Haven't used Access and VBA since 2001 so having problems doing the simplest things. I know what I want to do but can't!!
I have a table with a 3-part primary key. Have a form with 3 unbound controls corresponding to the 3-part table key. After the 3 form fields have been entered I want to search the table to see if a record with the same 3 fields on the table exists. If it does I want to go to another form to enter data for a related table carrying forward the 3 key fields. If it doesn't I want to go to a different form to keep the 3 fields already entered from form 1 and add additional fields to complete the record.Can anyone tell me how to do this please - I'm assuming I need event procedures and VBA
:banghead:
I have a table with a 3-part primary key. Have a form with 3 unbound controls corresponding to the 3-part table key. After the 3 form fields have been entered I want to search the table to see if a record with the same 3 fields on the table exists. If it does I want to go to another form to enter data for a related table carrying forward the 3 key fields. If it doesn't I want to go to a different form to keep the 3 fields already entered from form 1 and add additional fields to complete the record.Can anyone tell me how to do this please - I'm assuming I need event procedures and VBA
:banghead: