Re: Run Time Error 3075 Missing Operator
- From: "fredindy" <fsudler@xxxxxxxxx>
- Date: 8 Aug 2006 13:47:27 -0700
I've tried using the step into tool, however, it doesn't work for this
code, or I'm doing something wrong.
ManningFan wrote:
I have 2 words for you; STEP INTO.
Learn it, live it, love it.
fredindy wrote:
I have code that works on every from I have created except for the
latest. Here it is:
Private Sub cmdGo_Click()
Dim sSQL As String
Dim selector As String
Dim sText As String
sSQL = "SELECT qryFindRental.[EventID], qryFindRental.[Name],
qryFindRental.[FILENUMBER]," & _
" qryFindRental.[RENTALITEM], qryFindRental.[RENTALDATE],
qryFindRental.[RENTALTYPE]" & _
" FROM qryFindRental" & _
" WHERE qryFindRental." & selector & " LIKE '" & sText & "'"
Me.txtRentalItem.Visible = True
Me.txtRentalType.Visible = True
Me.txtName.Visible = True
Me.txtFileNumber.Visible = True
Me.txtRentalDate.Visible = True
Me.cmdEdit.Visible = True
Me.Line10.Visible = True
Me.RecordSource = sSQL
Me.Requery
End Sub
When I enter text in sText and select the value in my combo box and
click the button I receive the run time error. The difference between
this form and the others is that the code references a query whereas
the others reference a table. Help?
Fred
.
- Follow-Ups:
- Re: Run Time Error 3075 Missing Operator
- From: RoyVidar
- Re: Run Time Error 3075 Missing Operator
- From: fredindy
- Re: Run Time Error 3075 Missing Operator
- References:
- Run Time Error 3075 Missing Operator
- From: fredindy
- Re: Run Time Error 3075 Missing Operator
- From: ManningFan
- Run Time Error 3075 Missing Operator
- Prev by Date: HELP: Cross-Tabs, Stored Procedures and other Wonders of the World
- Next by Date: save table records from select tempquery
- Previous by thread: Re: Run Time Error 3075 Missing Operator
- Next by thread: Re: Run Time Error 3075 Missing Operator
- Index(es):
Relevant Pages
|