translate/decode

M

MAH

I am trying to figure out how to do a decode(sql) in access. I want to look
at one column of the table and based on the result pull another column.
example:
decode(acct_period,'200412',trans_amount,0)

I have tried IIF and choose with no luck.

Any help would be appreciated.
 

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