djwasim
Registered User.
- Local time
- Today, 06:06
- Joined
- May 29, 2009
- Messages
- 93
Hello Dear All
i am using this criteria in query to generate a report when i put dates in a form named "frmReports" in which the fields are named "txtdatefrom" & "txtDateTo"
the criteria is.......
>=[forms]![frmReports]![txtDateFrom] And <=[forms]![frmReports]![txtDateTo]
Using this criteria the report gives me true result.
But now the problem is that the form "frmReports" is linked with an other form named "frmMainform" as a sub form.
which criteria i should use to get true results?
i am using this criteria in query to generate a report when i put dates in a form named "frmReports" in which the fields are named "txtdatefrom" & "txtDateTo"
the criteria is.......
>=[forms]![frmReports]![txtDateFrom] And <=[forms]![frmReports]![txtDateTo]
Using this criteria the report gives me true result.
But now the problem is that the form "frmReports" is linked with an other form named "frmMainform" as a sub form.
which criteria i should use to get true results?
Last edited: