N
Nitin
Hi all
I am very new to the Access. So my problem can be silly but I am stuck
on this for last so many days.
I have a trying to print a report in access. This report is first
filtered using a form (pop up) where I have two Combo Boxes 1. Client
(Combo4) 2. Sampled Date (Combo5).
In command button of this form I have written this code
strSQL = "[" & Me("Combo4").Tag & "] = " & Chr(34) & Combo4 & Chr(34) &
" And [" & Me("Combo5").Tag & "] > " & Chr(34) & Combo5 & Chr(34)
Reports![BulkAsbestos].Filter = strSQL
Reports![BulkAsbestos].FilterOn = True
As soon as I try to display the report based on criteria entered say a
date "06/06/2006" (Which I am getting using drop down options) and a
client say "NK". And click OK, It says type mismatch Error.
I think the problem is in Sampled Date field but could not figure out
what the problem is.
Type of Sampled Date field is "Short Date".
Please help me out ..
Thanks
Nitin
I am very new to the Access. So my problem can be silly but I am stuck
on this for last so many days.
I have a trying to print a report in access. This report is first
filtered using a form (pop up) where I have two Combo Boxes 1. Client
(Combo4) 2. Sampled Date (Combo5).
In command button of this form I have written this code
strSQL = "[" & Me("Combo4").Tag & "] = " & Chr(34) & Combo4 & Chr(34) &
" And [" & Me("Combo5").Tag & "] > " & Chr(34) & Combo5 & Chr(34)
Reports![BulkAsbestos].Filter = strSQL
Reports![BulkAsbestos].FilterOn = True
As soon as I try to display the report based on criteria entered say a
date "06/06/2006" (Which I am getting using drop down options) and a
client say "NK". And click OK, It says type mismatch Error.
I think the problem is in Sampled Date field but could not figure out
what the problem is.
Type of Sampled Date field is "Short Date".
Please help me out ..
Thanks
Nitin