spectraflame
Well-known Member
- Joined
- Dec 18, 2002
- Messages
- 830
- Office Version
- 365
- Platform
- Windows
I have a form that allows users to create a service order. It gives them the ability with a drop down date picker box to select a scheduled date or leave it blank.
I have a reporting form that allows for multiple criteria to be defined which displays records that match the criteria on a report.
Within that query I was thinking about using something along the lines of the following code to determine whether or not the service order has been scheduled, but I am not sure how to accomplish this. I need to be able to generate a report of all orders based on scheduling status, but I am not sure how to do this either. Is there an easier way?
IIf([Forms]![ReportMenufrm]![Schedopt]=3,"*",IIf([Forms]![ReportMenufrm]![Schedopt]=2,"Scheduled","Non-Scheduled")
In the table, the Scheduled Date is formatted as a date, but is not required if that is of any help.
Thanks for the assistance.
Matthew
I have a reporting form that allows for multiple criteria to be defined which displays records that match the criteria on a report.
Within that query I was thinking about using something along the lines of the following code to determine whether or not the service order has been scheduled, but I am not sure how to accomplish this. I need to be able to generate a report of all orders based on scheduling status, but I am not sure how to do this either. Is there an easier way?
IIf([Forms]![ReportMenufrm]![Schedopt]=3,"*",IIf([Forms]![ReportMenufrm]![Schedopt]=2,"Scheduled","Non-Scheduled")
In the table, the Scheduled Date is formatted as a date, but is not required if that is of any help.
Thanks for the assistance.
Matthew