Hi,
I am beginner and i would like to open a report using where clause. Now i have to merge two condition in where clause
1. [ID] = Me!ID AND
2. [Fiel X in table] is Not Null
The code i have written is
But somehow this is not working.
I dont know how to do this
Can someone help me on this?
Thanks
Prashant
I am beginner and i would like to open a report using where clause. Now i have to merge two condition in where clause
1. [ID] = Me!ID AND
2. [Fiel X in table] is Not Null
The code i have written is
Code:
Dim strCrt as String strCrt = "ID =" & "'" & Me.ID & "'" strCrt = strCrt & "And [dblPrint_Copies_Of_Labels]" is Not Null" DoCmd.OpenReport "LabelPrinting", acViewPreview, , strCrt, acDialog
I dont know how to do this
Can someone help me on this?
Thanks
Prashant
Comment