View Full Version : Copying information


rwpetrie
01-19-2001, 09:48 AM
How can I enter data into a form, then hit a button that will save/copy some information that will automatically be entered for the user as it opens a new record?

I am using a Job # and a PO#. I want the database form to keep a new Job # at the top, adding it to the new record, but permit new items to be purchased on a different PO#.

ntp
01-19-2001, 10:08 AM
you can use the defaultvalue property of your control.

me![Job #].defaultvalue = me![Job #].Value

you can do this in the controls afterupdate event so your user does not have to do anything extra.

ntp