I have created a report that is based on User's request. I created a Popup form for the Users to enter their requests. The popup form is bound to a table(ReportParmSelection). The User can enter a date range and a status range. Or they can check the All status/All Dates check box. Their request is reflected in the table. I created a query that is based on the table. The query is bound to the report.
The problem I am having is, I want the requests to show up on the report. I tried Dlookup and nothing showed up. I added the table (ReportParmSelection) to the query and its request fields to the query grid. The request show up in the query but not on the report.
=Dlookup("FromStatus", "ReportParmSelection", "id= " & 1)
In the above Dlookup statement "id" is a field I added and placed a 1 in. There is only one record in the table. I do not delete and add recs, I merely edit the one rec and null the previous values. "FromStatus" is one the field options the User has.
I am out of ideas on how to solve this problem and I'm willing to entertain any suggestions.
Thanks much
Trudye
The problem I am having is, I want the requests to show up on the report. I tried Dlookup and nothing showed up. I added the table (ReportParmSelection) to the query and its request fields to the query grid. The request show up in the query but not on the report.
=Dlookup("FromStatus", "ReportParmSelection", "id= " & 1)
In the above Dlookup statement "id" is a field I added and placed a 1 in. There is only one record in the table. I do not delete and add recs, I merely edit the one rec and null the previous values. "FromStatus" is one the field options the User has.
I am out of ideas on how to solve this problem and I'm willing to entertain any suggestions.
Thanks much
Trudye