Replace

G

Guest

I have this Macro that execute a query.I'd like to replace the column A
results...
Now they are numbers ...and I'd like to replace them with city names..
For example 50000 is Milan
500002 is Rome..
Is it possible??
 
T

tina

you need a table that contains the mapping data, as

tblCities
CityCode
CityName

one code/table combination per record, as

tblCities
CityCode CityName
50000 Milan
50002 Rome

in the query link the "columnA" in that table with the CityCode column in
tblCities, then add the CityName field to the query grid.

hth
 

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