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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with a string where the field is text not numeric 1

Status
Not open for further replies.

WallT

Vendor
Aug 13, 2002
247
US
I have a filter I am using on a form. I am not very savoy with sql, but I am sure the problem with the following string is that "ActivityDetailsID" is a text property. Can somebody help me change this please? Thank you.


strFilter = "ActivityDetailsID = " & Me!ActivityDetailsID
 
strFilter = "ActivityDetailsID = [tt][!]'[/!]"[/tt] & Me!ActivityDetailsID [tt][!]& "'"[/!][/tt]

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Works perfect...I can never remember how to do that...thank you!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top