A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Conversion Problem - Text to Exponential



 
 
Thread Tools Display Modes
  #1  
Old December 7th, 2009, 10:50 PM posted to microsoft.public.access.queries
Commish[_2_]
external usenet poster
 
Posts: 30
Default Conversion Problem - Text to Exponential

I know that the Subject might be a little off, but here's my issue.

I am importing data from a spreadsheet into an Access database. In
this particular column of data, the data looks like this: 911B00,
91FT20, 911000, 91E000.

My issue is that when I import that column if data, for some reason it
takes the records with a "E" (like 911E00) and displays them as
exponential numbers and displays "9.10E+01" - how can I prevent Access
from doing that - or what function can a put in a query to fix that?
Ads
  #2  
Old December 8th, 2009, 02:10 PM posted to microsoft.public.access.queries
Tom van Stiphout[_2_]
external usenet poster
 
Posts: 1,653
Default Conversion Problem - Text to Exponential

On Mon, 7 Dec 2009 14:50:51 -0800 (PST), Commish
wrote:

Sometimes Access is trying a bit too hard.
I am assuming this is a Text column. You may still want to force the
issue with:
select CStr(myField) from myTable

-Tom.
Microsoft Access MVP


I know that the Subject might be a little off, but here's my issue.

I am importing data from a spreadsheet into an Access database. In
this particular column of data, the data looks like this: 911B00,
91FT20, 911000, 91E000.

My issue is that when I import that column if data, for some reason it
takes the records with a "E" (like 911E00) and displays them as
exponential numbers and displays "9.10E+01" - how can I prevent Access
from doing that - or what function can a put in a query to fix that?

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:22 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright 2004-2018 OfficeFrustration.
The comments are property of their posters.