Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Want to use last input of a filed as the default for new record

Status
Not open for further replies.

Margah

Programmer
Mar 21, 2004
15
US

I would like to use the last input of a field as default to ease the repetive typing. example. typing in Purchase orders. you may have 12 lines on the PO and each line will be a record but the PO will be the same. I would like the po to auto fill the field until I start the next PO then I change it.


Hope I made some sense

 
In the AfterUpdate event procedure of the form set the .DefaultValue property of each control you want to autofill on creation to the current .Value property.

Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top