SQL Pass-Through Query...Access 2000

L

Lynn Pennington

Hi.
I have this statment in SQL...
SELECT SiteID, SiteName, City, State,
CAST(CONVERT(DECIMAL(9), Lattitude)/10000 AS DECIMAL
(10,4)) AS SiteLat,
CAST(CONVERT(DECIMAL(9), Longitude)/10000 AS DECIMAL
(10,4)) AS SiteLong
FROM roadnet_Site

When I run this in SQL I get the correct results.

When I run this via Access 2000 using a SQL Pass-Through
the results set has SiteLat and SiteLong as currency
format instead of a number format.

Any ideas?
Thanks,
Lynn.
 
D

Duane Hookom

If you display the results in a form or report, you can set the format to
whatever you want.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top