|
-
Jul 14th, 2006, 05:25 AM
#1
Thread Starter
KING BODWAD XXI
csv and ADO, autoassigning wrong variable types
Hello,
We have a csv file from another source that we read in using the ADO object. A problem has occured where the ADO is reading in the first few records of song titles as numbers and then not allowing us to read in later records that are obviously going to be strings.
Does anyone know how we can force the ADO to take all fields in as string and not auto assign field types to numeric values only?
Thanks
-
Jul 14th, 2006, 06:30 AM
#2
Frenzied Member
Re: csv and ADO, autoassigning wrong variable types
What is an "ADO object"? ADO is a way of manipulating data. There are objects in ADO, such as a connection object, etc., but never heard of "ADO object".
Tengo mas preguntas que contestas
-
Jul 14th, 2006, 07:49 AM
#3
Thread Starter
KING BODWAD XXI
Re: csv and ADO, autoassigning wrong variable types
You know what I mean. Its an ado connection to a csv file
-
Jul 14th, 2006, 08:47 AM
#4
Re: csv and ADO, autoassigning wrong variable types
Actually he doesn't - there are lots of alternate "ADO objects" you could be using (eg: a Data Control , a Connection, or a Command), and they are noticably different. 
Anyhoo.. in this case it is not relevant, and the answer can be found in this article from Microsoft, in the section titled "I Dozed Off"!
-
Jul 14th, 2006, 09:02 AM
#5
Thread Starter
KING BODWAD XXI
Re: csv and ADO, autoassigning wrong variable types
Cool cheers thats exactly what we need 
Its an ADO Connection
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|