View Full Version : Default value


Kanter
10-22-2007, 04:08 AM
How can I set the previous record as data source for default value in MS Access table?

boblarson
10-22-2007, 05:49 AM
If you are working directly in the tables, you can't. If you are using a form to do data entry (which you SHOULD be using), then you can.

You would put this in the control's Before Update event:

Me.YourControlNameHere.Default = Me.YourControlNameHere

RuralGuy
10-22-2007, 06:38 AM
You would put this in the control's Before Update event:I'm sure Bob meant to say the "Form's BeforeUpdate" event.

Kanter
10-23-2007, 09:48 AM
Thankyou guys!