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

need help getting data with vb6 from access db after there is a space

Status
Not open for further replies.

hoggle

Programmer
Jul 13, 2001
124
US
I'm doing a "SELECT * FROM database" and when I return the information I'm loading it into a collection object.

Dim DataHold As New Collection
Dim xConnection As New ADODB.Connection
Dim xRecord As New ADODB.Recordset

DataHold.Add (xRecord.Fields(5))

after that I check the DataHold.item(1) and it returns 12/02/2001
but it should be 12/02/2001 10:23:32 AM
I can't figure out how to not cut it after the space

I have also set it to a string then loaded the string into the collection...but it still cuts after the space

thanks for any help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top