Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using 'like' in a remote view
Message
From
11/10/2001 21:29:29
Larry Long
ProgRes (Programming Resources)
Georgia, United States
 
 
To
11/10/2001 17:20:40
John Deupree
Long Term Care Authority
Tulsa, Oklahoma, United States
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00567257
Message ID:
00567369
Views:
21
This message has been marked as the solution to the initial question of the thread.
Before issuing the query...
qName=ALLTRIM(qName)+'%'

>I am working on a 'Find' screen for a form. I am trying to return all names that match the characters typed in a textbox. The data is on a SQL Server backend. I am trying to use the 'like' operator in a remote parametized view but it doesn't seem to work. I have set ANSI to off. The filter in the view designer is:
>
>pr_name like ?qName
>
>It only seems to work if I type in the exact expression.
>
>Perhaps there is a better way to do this?
>
>TIA
>
>John
L.A.Long
ProgRes
lalong1@charter.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform