track mileage

A

andrea

I have a form to track Mileage Out and Mileage IN. I need the last Mileage In to automatically fill the next record Mileage Ou
I am using this cod

Private Sub Form_AfterUpdate(
Me.Mileage_Out.DefaultValue = Me.Mileage_I
End Su

When I am entering records this works. When I close the form and reopen, the next record Mileage Out defaults to the 1st entered record. I have tried ordering the form descending but that doesn't work. Should I use a date and time and fill from the most recent date/time? If yes, I need a little help with that. I am new to Access so any help is appreciated
Thank yo
andre
 

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