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

date field

Status
Not open for further replies.

pedcab

Instructor
Jan 9, 2003
10
CA
I am having a problem interacting between Access and VB for date fields.

I have a field that takes car of timedefined in Access. In Vb I enter a time in a textbox but whenever I try to save it, it does not allow me to. Viceversa, whenever I try to bring one from the database, it does not allow me.

Do I have to have a mask....
 
Access datetime fields are delimited with # characters:

rst!datefield = "#12/1/03#"
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top