What I am looking to do is create an if then statement for a particular access query, here are the facts
Tables used
Mainframe Report List
Fields Within the table that are used for the if then statement
GENERATIONS
FREQUENCY
EXTENDED
what i would like is to say if FREQUENCY = Daily5 then Divide value in GENERATIONS by 5 and Place the Result in EXTENDED ELSE IF FREQUENCY = WEEKLY then Divide value in GENERATIONS by 1 etc etc for the following values
Daily5
Daily7
Weekly
Monthly
Quarterly
Annualy
On Demand
ELSE IF NULL then EXTENDED = NULL
Any help on this would be greatly appreciated as this has a deadline of tomorrow morning :( Thanks
Tables used
Mainframe Report List
Fields Within the table that are used for the if then statement
GENERATIONS
FREQUENCY
EXTENDED
what i would like is to say if FREQUENCY = Daily5 then Divide value in GENERATIONS by 5 and Place the Result in EXTENDED ELSE IF FREQUENCY = WEEKLY then Divide value in GENERATIONS by 1 etc etc for the following values
Daily5
Daily7
Weekly
Monthly
Quarterly
Annualy
On Demand
ELSE IF NULL then EXTENDED = NULL
Any help on this would be greatly appreciated as this has a deadline of tomorrow morning :( Thanks
Comment