Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Other Forums
 MS Access
 if statments

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-11-30 : 09:28:04
jason writes "Is it possible to use if statements in my SQL statment in Acess? I want to query values and if the item is a certain product i want to multiply the amount of the product by a certain value (currency conversion) to display the price in US dollars. The amount stored in the database is a number but refers to GBP so i want to pull these amounts and show then in US dollars"

robvolk
Most Valuable Yak

15732 Posts

Posted - 2001-11-30 : 09:46:10
There is the IIF() function, and also the Switch() function in MS Access. The help file will provide examples of how they work.

Go to Top of Page
   

- Advertisement -