473,587 Members | 2,230 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

RE: Numeric Data values messed up with linking excel files

Hi,

I have a perfect file called "Products.x ls" that I link to my MS
Access 2003 database and everytthing looks good in that file.

When I view the same file after linking in my database the data values
of records in "tblProduct s" are incorrect. For example the tblProducts
has a field called "PackageSiz e" as listed below. THe problem is that
it displays the text correctly but if the field has numbers only it
messes it up. I have set this field in the xls file as "Format Cell as
Text" to accommodate the number and text which is fine in the .xls
file but it get messed up in the linking proceses. Any magic to fix
this problem

Thanks,
Sa

Example:
Package Size (Field in tblProducts)
2LED
#Num!
#Num!
#Num!
T13/4
D041
SLP2510P8
SFH206K
Jul 18 '08 #1
1 2312
Hi Agarwasa,

Here's two different threads regarding that behaviour. Should help:

http://accessprogrammer.blogspot.com...ing-excel.html
http://groups.google.com/group/micro...8db71d7bd3c5f2
Bonnie
http://www.dataplus-svc.com

ag**********@gm ail.com wrote:
>Hi,

I have a perfect file called "Products.x ls" that I link to my MS
Access 2003 database and everytthing looks good in that file.

When I view the same file after linking in my database the data values
of records in "tblProduct s" are incorrect. For example the tblProducts
has a field called "PackageSiz e" as listed below. THe problem is that
it displays the text correctly but if the field has numbers only it
messes it up. I have set this field in the xls file as "Format Cell as
Text" to accommodate the number and text which is fine in the .xls
file but it get messed up in the linking proceses. Any magic to fix
this problem

Thanks,
Sa

Example:
Package Size (Field in tblProducts)
2LED
#Num!
#Num!
#Num!
T13/4
D041
SLP2510P8
SFH206K
--
Message posted via AccessMonster.c om
http://www.accessmonster.com/Uwe/For...ccess/200807/1

Jul 19 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
4527
by: Don.Vonderburg | last post by:
I am having a problem importing an Excel spreadsheet. I have a column in an Excel sheet with alphanumeric text and some of the cells are numeric. Some of the cells contain numbers like 12345.6 and when DTS is done importing it into a field that is nvarchar the results are "12345.600000000001". I have tried: 1. Changing the format of the...
8
8078
by: Colleyville Alan | last post by:
I have been working on an Access app that takes info from a file and writes it to a spreadsheet on a form, simultaneously saving the spreadsheet to Excel. I got the idea that the same concept could work in reverse, i.e. we have a cost model written in Excel that calculates the profitability of customer accounts based on several inputs and...
2
2307
by: Sara | last post by:
Hi - I've been reading the posts for a solution to my query, and realize that I should ask an "approch" question as well. We receive our production data from a third party, so my uers import the data from Excel into the appropriate tables. There are 6 different databases that receive data, though 4 of them only get one table each. I...
4
1454
by: vighnesh | last post by:
Hi All I am presently dealing with a project,in which I have to convert an XLS file into XML file. To accomplish this I have used Dataset as intermediatory to store the data from XLS and writting the data to XML file. But unfortunately I am not getting Boolean and Numeric values from the given XLS file into Datset.For all other XLS file...
1
2309
by: NancyA | last post by:
I am using the following code to write data from a datagrid to an Excel file: Dim tw As New System.IO.StringWriter Dim hw As New System.Web.UI.HtmlTextWriter(tw) dg.RenderControl(hw) Response.ContentType = "application/vnd.ms-excel" Response.Charset = "" Response.AppendHeader("content-disposition", "attachment;filename=test.xls")...
5
8932
by: Scott M. Lyon | last post by:
I've just discovered a bug in some code I wrote a little while ago, and I need you guys' help to fix it. My program imports data from a standard Excel Spreadsheet (just with specific column headers). I used ODBC in my VB.NET program to read that spreadsheet into a dataset, to make it easy to manipulate. The code I use to read it is as the...
0
14409
by: Grip | last post by:
Hi, I have gone throught the group and Microsoft's online help and have seen many suggestions but I am still seeking clarity: 1. I have an excel spreadsheet. Column A contains text that may be greater than 255 characters. 2. I have an access database. I link (not import) to the contents of the excel spreadsheet. In the design view in...
0
2104
by: ronysk | last post by:
Hi, I am posting here to seek for help on type conversion between Python (Numeric Python) and C. Attachment A is a math function written in C, which is called by a Python program. I had studied SWIG and Python/C API a bit. I was able to pass numeric array (Numeric Python) into the C function and access/change these arrays. Problem I...
0
3217
by: naorem ranjan | last post by:
I have one problem regarding format of mixed data columns in excel. I am using ADO.NET to retrieve data from excel sheet. Connection String used is: Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\\ITEM.xls;Extended Properties=\"Excel 8.0;HDR=YES;IMEX=1\" I am able to retrieve all data (numeric and text), but for cells...
0
8205
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8339
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6619
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5392
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3840
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3872
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2347
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1452
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1185
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.