Autofill a form in Access 2003 (1 Viewer)

RobBhat

Registered User.
Local time
Today, 10:17
Joined
Sep 24, 2016
Messages
73
Hi All

I have a form with a subform that requires inputting invoices from suppliers. For quite a lot of them, the majority of the information is a repeat of the previous invoice. Is there a command function that I can use to copy all the information from the previous record and insert them into the form and subform (excluding 3 of the fields in the mainform)?

Regards

Rob :)
 

moke123

AWF VIP
Local time
Today, 13:17
Joined
Jan 11, 2013
Messages
3,940
there are probably several ways to do it but a lot depends on your workflow, the record sources of form and subform, etc. Also the need to copy info from record to record makes me wonder about normalization issues. Maybe supply more info or a sample of what you have.
 

sneuberg

AWF VIP
Local time
Today, 10:17
Joined
Oct 17, 2014
Messages
3,506
Allen Browne has some code here that might get you started. To learn VBA I suggest starting with this video series.
 

Users who are viewing this thread

Top Bottom