G
Guest
I have a form where a user can enter the date so that a list of invoices
meeting that date will be printed. My code looks like this:
Dim strWhere As String
strWhere = "'[dteInvoiceDate]=" & Me.txtSpecificDate '"
DoCmd.OpenReport "rptInvoiceListByDate", acPreview, , strWhere
However I get a Syntax error in string in expression. Is there something
wrong with the code? Thanks.
ck
meeting that date will be printed. My code looks like this:
Dim strWhere As String
strWhere = "'[dteInvoiceDate]=" & Me.txtSpecificDate '"
DoCmd.OpenReport "rptInvoiceListByDate", acPreview, , strWhere
However I get a Syntax error in string in expression. Is there something
wrong with the code? Thanks.
ck