So I am working on increases efficiency in my database and one of the most requested items was 'autofill'.
I have a form based on a query autofill.
The query is made up of three tables.
Tbl Carrier which includes CarrierID, Carrier, CarrierNum, Address, City, State, Zip, Country
PK CarrierID
Tbl CAP which includes CAPID, Receive, DateScan, Revocation, Mailed, Note, Status, Comments
PK CAPID
Seconday key CarrierID
Tbl EXP which includes EXPID, ActionDate, Receive, Accept
PK EXPID
Secondary key CarrierID
Basically I have a form with all of this information in one place. My users would like to beable to type in the CarrierNum and have the rest of the fields auto fill with all the carrier data and if the number is not on file to create a new record.
For the autofill I am under the impression that I would need DLookup? The form is bound to the query and then I would unbound the CarrierNum? I made the query and unbound the CarrierNum based on what I read online. Don't really understand the DLookUp yet but going to pick up a VBA book online because online reading has not helped much.
Just wanted to make sure I am looking in the right direction before I invest the time.