LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel problem reading data when aflanumreic field is numeric

Hi,

i'm facing the following probem when i import records from an excelfile by
code (i use OleDbDataAdapter and OleDb.OleDbConnection
provider=Microsoft.Jet.OLEDB.4.0;.....Extended Properties=Excel 8.0):

When an alfanumeric field contains numeric data (like "1234556" the data is
imported as "<NULL", but if this alfanumeric field contains data like
"AB123456" the value "AB123456" is imported.

I want to know how i can solve this because the data read is very critical,
the null-values give wrong outcomings. Thanks for yor effords.

Greetings, Verhaad

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reading Only Numeric Value of Cell F. Lawrence Kulchar Excel Discussion (Misc queries) 5 April 9th 08 01:58 AM
how to tell excel to read numeric field as character fr a csv file Ang Kah Huat Excel Discussion (Misc queries) 3 January 11th 06 11:08 AM
Merge an alpha field and a numeric field grams Excel Discussion (Misc queries) 3 August 29th 05 11:33 PM
Problem pasting numeric data from Access into Excel JP Jones Excel Discussion (Misc queries) 8 July 14th 05 03:26 PM
Programmatically reading data field values from PivotTable Enrico Campidoglio[_2_] Excel Programming 2 July 13th 05 12:32 PM


All times are GMT +1. The time now is 10:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"