Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

query output to excel

Status
Not open for further replies.

mikeba1

Programmer
Jan 2, 2005
235
GB
I have a query that exports to excel, where one of the fields is a currency rate, I have specified the field properties
as format 'fixed' with 4 decimal places.
Fine when you just run the query without exporting it.
When exporting only shows 2 dp?



Any ideas.
 
Did you try to change the NumberFormat property of the excel column after export ?

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Yes, and there were 4 dp.
Why does it not display them?
 
Because the default (General) format of excel is to show 2 dp, I guess.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
However if I change the format to general with 4 dp it seems to work !!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top