Hi
Brand new to Access 2003 and stumbling at the first hurdle. I want a data base which will inform the user when a new task needs to be carried out. I have a column headed "Last Use" (date format, manually entered into table), a column headed, "Frequency" (text format, manually entered into table) and I need a column which will calculate the column Next Use (date format, to be calculated). Entries under "Frequency" should only be "Monthly" or "weekly" but if neither I would like a warning. I figure if I convert the text to a number and then add this to my "Last Use" field it would give me my "Next Use"
I have set a query up "Next Use: IIf([Frequency]="monthly",31,( IIf([Frequency]="weekly",7,"in put error"))). But I get #Error if Frequency is anything other than Monthly or Weekly.
Appreciate any assistance.
ajak
Brand new to Access 2003 and stumbling at the first hurdle. I want a data base which will inform the user when a new task needs to be carried out. I have a column headed "Last Use" (date format, manually entered into table), a column headed, "Frequency" (text format, manually entered into table) and I need a column which will calculate the column Next Use (date format, to be calculated). Entries under "Frequency" should only be "Monthly" or "weekly" but if neither I would like a warning. I figure if I convert the text to a number and then add this to my "Last Use" field it would give me my "Next Use"
I have set a query up "Next Use: IIf([Frequency]="monthly",31,( IIf([Frequency]="weekly",7,"in put error"))). But I get #Error if Frequency is anything other than Monthly or Weekly.
Appreciate any assistance.
ajak
Comment