I am linking.
I don't know why this happens. For example, in the txt file, the number is
123456.78. If I set the data type as "single" in the linked table, I may see
123456.00 or 123455.00
If I use "currency" data type, the figures will be accurate. But the only
problem is the display format when I export the data into excel.
Alternatively, is there any way that I can set the default display format
for "currency" datatype as a pure figure without the "$" symbol in the front?
Thanks a lot for your patience.
> We are on the same wavelength.
>
[quoted text clipped - 45 lines]
> > > > > > > >
> > > > > > > > What can I do to resolve this? Shall I use another data type?
If you have a linked table I assume you have designed a table?
If you have set up a field and you set the datatype to "number", go to the
"field size" in the bottom pane and change it to "decimal". In the format box
change it to "fixed" and the "decimal places" to 2.
That should work
> I am linking.
>
[quoted text clipped - 59 lines]
> > > > > > > > >
> > > > > > > > > What can I do to resolve this? Shall I use another data type?
Cynthia - 28 Jun 2007 11:24 GMT
this property cannot be modified for linked table
> If you have a linked table I assume you have designed a table?
>
[quoted text clipped - 67 lines]
> > > > > > > > > >
> > > > > > > > > > What can I do to resolve this? Shall I use another data type?
scubadiver - 28 Jun 2007 11:50 GMT
I wouldn't know then. I suggest you start a new thread that includes "need
help from MVP" (which stands for Most Valuable Proffessional)
> this property cannot be modified for linked table
>
[quoted text clipped - 69 lines]
> > > > > > > > > > >
> > > > > > > > > > > What can I do to resolve this? Shall I use another data type?
Cynthia - 28 Jun 2007 11:52 GMT
thanks a lot scubadiver
> I wouldn't know then. I suggest you start a new thread that includes "need
> help from MVP" (which stands for Most Valuable Proffessional)
[quoted text clipped - 72 lines]
> > > > > > > > > > > >
> > > > > > > > > > > > What can I do to resolve this? Shall I use another data type?
Hi Cynthia,
I wasn't quite able to reproduce what you observed. When I linked to a text
file that contained these entries:
NumericalMeasurement
123456.78
123456.12
123456.23
123456.34
123456.45
123456.56
123456.67
123456.78
123456.89
I got this result, when I choose the Single data type, and opened the linked
table:
NumericalMeasurement
123456.8
123456.1
123456.2
123456.3
123456.5
123456.6
123456.7
123456.8
123456.9
The numbers were rounded to one decimal place, but the first one was not
displayed as you indicated: 123456.00 or 123455.00.
I repeated the experiment, this time choosing Double (not Decimal, as Scuba
indicated, and you confirmed was not in the listing):
NumericalMeasurement
123456.78
123456.12
123456.23
123456.34
123456.45
123456.56
123456.67
123456.78
123456.89
This looks correct to me. Continuing on, I tried specifying Currency. This
is the result that I got:
NumericalMeasurement
$123,456.78
$123,456.12
$123,456.23
$123,456.34
$123,456.45
$123,456.56
$123,456.67
$123,456.78
$123,456.89
I opened the linked table in design view. Although I was prompted with the
message:
"Table 'MyDataCur' is a linked table with some properties that can't be
modified."
I clicked on Yes. I changed the Format and Decimal Places properties in the
lower window from Currency and Auto to General Number and 2, respectively.
The indicated Data Type remains Currency. After saving the changes and
viewing the results, I see the following:
NumericalMeasurement
123456.78
123456.12
123456.23
123456.34
123456.45
123456.56
123456.67
123456.78
123456.89
This looks correct to me too. I exported the data to Excel, using the Office
Links toolbar button, which reads "Analyze It with Microsoft Office Excel".
The data does not display the $ sign. I'm used Access 2003 (11.5614.6568) for
these tests.
Given the choice between using Double and Currency, I would opt for using
Currency and changing the applied format.
Hope this helps.
Tom Wickerath
Microsoft Access MVP
https://mvp.support.microsoft.com/profile/Tom
http://www.access.qbuilt.com/html/expert_contributors.html
__________________________________________
> I am linking.
>
[quoted text clipped - 9 lines]
>
> Thanks a lot for your patience.
______________________________________________
> > We are on the same wavelength.
> >
[quoted text clipped - 4 lines]
> > formats). If you are importing it would be better to set up a table first
> > before doing so.