Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can a sql query update a field in a Access db with a 'null' value 1

Status
Not open for further replies.

ajap99

Programmer
Dec 9, 2004
18
GB
I have a field in an access db that contains a number when it is booked.
When I delete a booking I want to set this field back to being empty.
I am using the following SQL statement.This works when eg i put a 1 into textbox12



strDelete = "Update ResourceDates Set BookingRef=(" &"'" & textbox12.text &"'" &") WHERE ResourceDatesID=" & RID

Is this possible ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top