Control apostrophe

L

Leo

When you press Control Apostrophe the previous record's data is entered into
the field on a form. Is there a code that I can enter On Load property of
the form so that some (not all) of the fields will automatically fill in with
data from the previous record.
In other words is there a VBA code for Control Apostrophe?

Thanking you in advance
Leo
 
A

Allen Browne

See:
Assign default values from the last record
at:
http://allenbrowne.com/ser-24.html

The code carries data over at the point when you start entering a new
record, and you can specify the fields *not* to assign values to (just by
adding the names of those controls in quotes.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top