G
Guest
Greetings,
There is a field in my table called ContactType. The values are 1, 2, and
3. I want to translate these values to the English equivalents during a SQL
query.
I used to be an Oracle developer and in Oracle SQL I would use the built in
function 'decode' to accomplish this task.
For example:
Select decode(ContactType, 1, "phone", 2, "fax", 3, "email)
From Contacts;
Is their an equivalent function which I can call in Access? I'm looking for
the simplest solution.
Thanks for your feedback.
Regards,
Bryan
There is a field in my table called ContactType. The values are 1, 2, and
3. I want to translate these values to the English equivalents during a SQL
query.
I used to be an Oracle developer and in Oracle SQL I would use the built in
function 'decode' to accomplish this task.
For example:
Select decode(ContactType, 1, "phone", 2, "fax", 3, "email)
From Contacts;
Is their an equivalent function which I can call in Access? I'm looking for
the simplest solution.
Thanks for your feedback.
Regards,
Bryan