Hi everyone,
i have a checkout room form where after customers check in room, the form updatess the checkinout table to check out.
the error i get is from the sql and it on the dates line, even though the query works perfectly with accurate results
sql = "SELECT * " & _
"FROM checkinout " & _
"WHERE CustomerId = " & Me.listbox.Column(0) & "" & _
" AND RoomNo = " & Me.listbox.Column(3) & "" & _
" AND CheckInDate = #" & Me.listbox.Column(4) & "#"
Set db = CurrentDb
Set rst = db.OpenRecordset(sql)
With rst
.Edit
rst!CheckOutDate = Me.txtbox1
....
could someone please point me to the right direction
thanks alot