L
Little Penny
What is wrong with this slq statemnt. When I hit my cmd button in my
form i get a pop up box that says "Enter Paramater Value"
GCriteria = Forms![frmSearchFields]![cboSearchField].value & " = " &
Forms![frmSearchFields]![txtSearchString].value
Form_frmOriginal.RecordSource = "select * from tbl_ReprintRequest
Where " & GCriteria
I can get this to work with "LIKE"
GCriteria = Forms![frmSearchFields]![cboSearchField].value & " LIKE
'*" & Forms![frmSearchFields]![txtSearchString].value & "*'"
but Not "="
Any help would be greatly appreciated
Thanks
Little Penny
form i get a pop up box that says "Enter Paramater Value"
GCriteria = Forms![frmSearchFields]![cboSearchField].value & " = " &
Forms![frmSearchFields]![txtSearchString].value
Form_frmOriginal.RecordSource = "select * from tbl_ReprintRequest
Where " & GCriteria
I can get this to work with "LIKE"
GCriteria = Forms![frmSearchFields]![cboSearchField].value & " LIKE
'*" & Forms![frmSearchFields]![txtSearchString].value & "*'"
but Not "="
Any help would be greatly appreciated
Thanks
Little Penny