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

Date value not stored in data base

Status
Not open for further replies.

Saturn57

Programmer
Aug 30, 2007
275
CA
I have a form with a datevalue picker that comes up with todays date on loading. When I save the form which is attached to an sql data table the date field does not update the table unless I select the datebox prior to saving the form in which case the date is formed. Is there code that can help me with this?
 
I would assume there is a selected date property which is where you get the date to save into the database. chances are the date is not selected, which is why the value is not getting passed to the database.

after the page loads set the selected date to today. if you still having problems you will need to step through the code to determine what value you are passing to the ado command object.

for more help you will need to post the relevant code.

Jason Meckley
Programmer
Specialty Bakers, Inc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top