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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

update

Status
Not open for further replies.

Guest_imported

New member
Joined
Jan 1, 1970
Messages
0
Hello,

I have a vehicle reservation form, I want to know how to update this form where a user who has reserved a vehicle can change the times of the reservation. Then save this info. to the table. The 'time' is a text box.

Hope somebody help me out.
Joan


 
What language is the form that the user uses in? The SQL syntax could depend on the data type of the field, also.
Assuming it's a datetime field, and the value inside the textbox is '11:00:00 AM' and the table you are saving it to is called "Cars" and the name of the field is "TimeOfRental", a sample statement would be:

UPDATE Cars SET TimeOfRental='11:00:00 AM'

Kevin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top