Syntax Error
- From: "CK" <CK@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 27 Apr 2005 08:20:09 -0700
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
.
- Follow-Ups:
- Re: Syntax Error
- From: Graham R Seach
- Re: Syntax Error
- Prev by Date: RE: DateAdd problem
- Next by Date: RE: pass a calculated form field to a subform field?
- Previous by thread: Incremental increasing a Fields numeric value
- Next by thread: Re: Syntax Error
- Index(es):
Relevant Pages
|