Link to home
Start Free TrialLog in
Avatar of HKFuey
HKFueyFlag for United Kingdom of Great Britain and Northern Ireland

asked on

SQL View Syntax

I have this Access query and want to make it into a view, can anyone help with syntax?
SELECT IIf([Date_Last_Service] Is Null,[Service_Due_Date],IIf([Service_Due_Date] Is Null,[Date_Introduced],[Date_Last_Service])) AS LastService, DateDiff("m",[LastService],Date()) AS ServiceDue
FROM tbl_Jig_Register;

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of HKFuey

ASKER

Thanks very much for the solution and extra info. I really appreciate the speedy response!!