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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting fields in a make table query

Status
Not open for further replies.

IANGRAND

Technical User
Jul 29, 2003
92
GB
I have written a make table query which exports a series of addresses with an associated Easting and Northing. The idea is to link this new table to GIS using the two coordinates. However presently the easting and northings are saved as a text field, and to use them i need the new table to display them in a numeric field, which presently i need to manually alter. Is there any way through a query to set the easting and northing field for the new table to numeric?

Cheers

Ian Grand
 
How would you use this method, would it be in the sql of the query?
 
In the query you may use the CLng, CDbl or Val functions.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Hi

In the Query design gridt it would appear so

EastingAsNumber:Val([Easting])

in SQL view

SELECT .... ,Val([Easting]) As EastingAsNumber FROM ...

Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now - UK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top