C
Chieko Kuroda
I have been trying for some time to use the applyfilter
on a calculated field. But I keep getting the error
message "datatype mismatch". Would anyone show me how to
correct my code:
Thanks,
Chieko
Private Sub Report_Open(Cancel As Integer)
'Filter out records with length of stay > 2.0
DoCmd.ApplyFilter , "'=([DC_Date]-[Admit_Date])' > 2"
End Sub
on a calculated field. But I keep getting the error
message "datatype mismatch". Would anyone show me how to
correct my code:
Thanks,
Chieko
Private Sub Report_Open(Cancel As Integer)
'Filter out records with length of stay > 2.0
DoCmd.ApplyFilter , "'=([DC_Date]-[Admit_Date])' > 2"
End Sub