Add 2 more columns to your table: StartTime, EndTime, make them dateTime
fields. Then here is some code you can run
Sub UpdateTbl()
DoCmd.RunSql "Update yourTbl Set StartTime = #09:00#, " _
& "EndTime = #17:30#"
End Sub
Open up a standard module (Modules Tab) and paste this code in the
module (change yourTbl to the name of your table). While the cursor is
inbetween Sub UpdateTbl() and End Sub you can press F5 to run the code
(on works in Standard module - In a Form code module you can't use F5).
Note: you will get a message stating that ## Rows will be updated. Just
click yes to continue.
Rich
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!