Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Expected: expression ? 1

Status
Not open for further replies.

renepaulin

Technical User
Jan 31, 2005
6
CA
Hi all,

Can someone help with this? I get an expected expression error.
Code:
DoCmd.OpenReport cboReport.Column(1), acViewDesign
         Reports(cboReport.Column(1)).lblTitle.Caption = _
         "string " & _
         "string" & cboMonth & "/01/" & cboYear.Column(1) & "string" _
         & cboMonthEnd & "/31/" & cboYearEnd.Column(1) &
Thanks
 
Get rid of the last ampersand (&)

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top