Powerhouse123
IS-IT--Management
Hello,
I have a form which is calculating information and I want to produce a query based on the calculated information on the form. I realise you cannot create a query based on a form...or can you?
My base table includes the following:
Issue Date: 01/01/2005
Expiry Date: Nothing - this is calculated in the form (=DateSerial(Year([Issue Date])+3,Month([Issue Date]),Day([Issue Date]))
Valid: Nothing - this is also calculated in the form (=IIf([Expiry Date]>=Date(),"Yes","Over Due"))
Is there a way to calculate the same information before it gets to the form? This needs to be updating the table everytime so to ensure there is inforamtion available when creating a report?
I then want to produce a report which shows only the "Overdue" records but because this info is calculated in the form and currently not in the base table, when putting "Overdue" in the criteria section of a query under the "Valid" field, obviously there is nothing in there and it displays nothing.
Please can you help? I'm sure there is a simple solution...
Many thanks in advance.
I have a form which is calculating information and I want to produce a query based on the calculated information on the form. I realise you cannot create a query based on a form...or can you?
My base table includes the following:
Issue Date: 01/01/2005
Expiry Date: Nothing - this is calculated in the form (=DateSerial(Year([Issue Date])+3,Month([Issue Date]),Day([Issue Date]))
Valid: Nothing - this is also calculated in the form (=IIf([Expiry Date]>=Date(),"Yes","Over Due"))
Is there a way to calculate the same information before it gets to the form? This needs to be updating the table everytime so to ensure there is inforamtion available when creating a report?
I then want to produce a report which shows only the "Overdue" records but because this info is calculated in the form and currently not in the base table, when putting "Overdue" in the criteria section of a query under the "Valid" field, obviously there is nothing in there and it displays nothing.
Please can you help? I'm sure there is a simple solution...
Many thanks in advance.