Click here to Skip to main content
15,925,255 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Exception for DB connection Pin
nishkarsh_k20-Dec-07 8:04
nishkarsh_k20-Dec-07 8:04 
GeneralPLEASE HELP!! craxdrt.dll failed to register [modified] Pin
vbDigger'z19-Dec-07 21:10
vbDigger'z19-Dec-07 21:10 
AnswerRe: PLEASE HELP!! craxdrt.dll failed to register Pin
yogesh_kumar_agarwal20-Dec-07 3:40
yogesh_kumar_agarwal20-Dec-07 3:40 
GeneralRe: PLEASE HELP!! craxdrt.dll failed to register Pin
vbDigger'z20-Dec-07 14:32
vbDigger'z20-Dec-07 14:32 
GeneralReading CSV File and storing in dataset Pin
ejaz_pk19-Dec-07 6:18
ejaz_pk19-Dec-07 6:18 
GeneralRe: Reading CSV File and storing in dataset Pin
Johan Hakkesteegt19-Dec-07 6:46
Johan Hakkesteegt19-Dec-07 6:46 
GeneralRe: Reading CSV File and storing in dataset Pin
ejaz_pk19-Dec-07 19:23
ejaz_pk19-Dec-07 19:23 
GeneralRe: Reading CSV File and storing in dataset Pin
Scott Dorman23-Dec-07 1:57
professionalScott Dorman23-Dec-07 1:57 
No matter what you should still explicitly specify the columns you want returned from the SELECT statement for performance reasons. That being said, how your database table is defined is completely irrelevant to your problem. The problem is happening when you create the ODBC connection to the CSV file. Since the field in question contains numeric data, the Jet engine is treating it as a numeric field. (If you look at the column properties for the DataTable that was created for you, it should show that the column is a numeric data type.)

You need to explicitly convert the column to text data in your SELECT statement by casting it or create a schema.ini file that defines the column data types. See http://support.microsoft.com/kb/187670[^] for more information on the schema.ini file.
Scott.

—In just two days, tomorrow will be yesterday.

[Forum Guidelines] [Articles] [Blog]

GeneralSplitting MDI form Pin
supercat919-Dec-07 5:46
supercat919-Dec-07 5:46 
GeneralRe: Splitting MDI form Pin
Dave Kreskowiak20-Dec-07 8:24
mveDave Kreskowiak20-Dec-07 8:24 
QuestionDirectory Tree contorl failing on folders with access constraints Pin
ExcelMonkey19-Dec-07 5:10
ExcelMonkey19-Dec-07 5:10 
GeneralRe: Directory Tree contorl failing on folders with access constraints Pin
Johan Hakkesteegt19-Dec-07 7:36
Johan Hakkesteegt19-Dec-07 7:36 
Generaluser control Pin
hassanasp19-Dec-07 4:45
hassanasp19-Dec-07 4:45 
GeneralRe: user control Pin
Paul Conrad19-Dec-07 16:31
professionalPaul Conrad19-Dec-07 16:31 
Generalvalidation arabic only Pin
hassanasp19-Dec-07 4:37
hassanasp19-Dec-07 4:37 
GeneralRe: validation arabic only Pin
Paul Conrad19-Dec-07 16:32
professionalPaul Conrad19-Dec-07 16:32 
GeneralData base connection Pin
nishkarsh_k19-Dec-07 3:27
nishkarsh_k19-Dec-07 3:27 
GeneralRe: Data base connection Pin
Johan Hakkesteegt19-Dec-07 6:55
Johan Hakkesteegt19-Dec-07 6:55 
GeneralRe: Data base connection [modified] Pin
nishkarsh_k19-Dec-07 16:43
nishkarsh_k19-Dec-07 16:43 
Questiondynamically setting MaxLength property of a Textbox Pin
Gulfraz Khan19-Dec-07 3:05
Gulfraz Khan19-Dec-07 3:05 
GeneralRe: dynamically setting MaxLength property of a Textbox Pin
nishkarsh_k19-Dec-07 3:29
nishkarsh_k19-Dec-07 3:29 
GeneralRe: dynamically setting MaxLength property of a Textbox Pin
Gulfraz Khan19-Dec-07 3:34
Gulfraz Khan19-Dec-07 3:34 
GeneralRe: dynamically setting MaxLength property of a Textbox Pin
darkelv19-Dec-07 5:38
darkelv19-Dec-07 5:38 
GeneralRe: dynamically setting MaxLength property of a Textbox Pin
nishkarsh_k19-Dec-07 16:46
nishkarsh_k19-Dec-07 16:46 
GeneralRe: dynamically setting MaxLength property of a Textbox Pin
Gulfraz Khan25-Dec-07 18:13
Gulfraz Khan25-Dec-07 18:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.