Rich_Lovina
Registered User.
- Local time
- Tomorrow, 08:55
- Joined
- Feb 27, 2002
- Messages
- 224
Okay fellow developers, maybe I'm slow, but here's where I'm falling over again with p'raps too much code.
My form has 6 related tables and is based on a query. Data comes into my main table by import and also by data entry.
The data-entry often means trying to add new codes which do not exist in the related table(s). Which way is best to solve this:
Option1: Do a macro to open related table, add new record, then return to form (this doesn't work until that form is closed and re-opened to accept new record.
Option2: Write some DLookup code which 'pastes the new record in the related table and also updates simultaneously the form where that new record is being added?
Any suggestions appreciated greatly. After my HD crashed Ive had to re-assemble many database bits & pieces, hence may have asked this last year.
Tks any ideas.
My form has 6 related tables and is based on a query. Data comes into my main table by import and also by data entry.
The data-entry often means trying to add new codes which do not exist in the related table(s). Which way is best to solve this:
Option1: Do a macro to open related table, add new record, then return to form (this doesn't work until that form is closed and re-opened to accept new record.
Option2: Write some DLookup code which 'pastes the new record in the related table and also updates simultaneously the form where that new record is being added?
Any suggestions appreciated greatly. After my HD crashed Ive had to re-assemble many database bits & pieces, hence may have asked this last year.
Tks any ideas.