G
Guest
I am a true beginner and there maybe a simple solution for my problem. I am
running a form using a query and trying to include sort of a filter on the
open event but in the "Where", but it appears that my query is running
without reviewing checking the "Where". Please see my code below:
Private Sub Form_Open(Cancel As Integer)
DoCmd.OpenForm "Form Date Range", , , "Me.[Work Completed] >= &
[Forms]![Form Date Range]![Beginning Entry Date] And Me.[Work Completed]<=
&[Forms]![Form Date Range]![Ending Entry Date]", , acDialog, "Duplicates in
Associates Productivity"
End Sub
Is there a simple solution?
running a form using a query and trying to include sort of a filter on the
open event but in the "Where", but it appears that my query is running
without reviewing checking the "Where". Please see my code below:
Private Sub Form_Open(Cancel As Integer)
DoCmd.OpenForm "Form Date Range", , , "Me.[Work Completed] >= &
[Forms]![Form Date Range]![Beginning Entry Date] And Me.[Work Completed]<=
&[Forms]![Form Date Range]![Ending Entry Date]", , acDialog, "Duplicates in
Associates Productivity"
End Sub
Is there a simple solution?