M
Marianne
Hello!
I have a form with a command button that opens a report based on the CLNum
field. It works fine if the underlying query that run the report has "payment
records" for the invoices. if no payment records exist for an invoice then
the error 3464 - "Data Type mismatch" encountered. CLNum field is a text
field containing alpha numeric characters, ie. ABC123.
Code to open report:
DoCmd.OpenReport "rptInvoiceSummaryByClient", acViewPreview, , "[CLNum]="""
& Me.CLNum & """", acWindowNormal
I have a form with a command button that opens a report based on the CLNum
field. It works fine if the underlying query that run the report has "payment
records" for the invoices. if no payment records exist for an invoice then
the error 3464 - "Data Type mismatch" encountered. CLNum field is a text
field containing alpha numeric characters, ie. ABC123.
Code to open report:
DoCmd.OpenReport "rptInvoiceSummaryByClient", acViewPreview, , "[CLNum]="""
& Me.CLNum & """", acWindowNormal