Hello,
I have a table with just one field. Using the "on click" button I want to replace the first row with today's date/time. I have the code to add the date to the table. using db1.AddNew (see code below).
But I don't want the table to grow, I just want the first row data to be replaced i.e. replace Feb 05, 2004 with Feb 20, 2004 in the table shown below.
THE TABLE:
LastDate
--------------
Feb 20, 2004
The CODE:
Set db1 = dbs.OpenRecordset("tbl1"
db1.____________
db1![LastUpdated] = Now()
db1.Update
db1.Close
Thank you,
RiderJon
"I might have created ctrl+alt+del,
But Bill made it famous" - Dr. Dave