Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LOCATE error
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00214516
Message ID:
00214591
Views:
15
>>Do you have a SET FILTER TO for this table that uses ThisForm ?
>
>Yes. In the FORMS init I have:
>
>
>THISFORM.cCurrentUserId = oAppLib.getuserid()
>
>SELECT rqst_ord
>SET FILTER TO user_id = THISFORM.cCurrentUserId
>
>
>I tried several things EVAL(), & () trying to get the SET FILTER to persist in memory without referencing THISFORM.cCurrentUserId

Try:

SELECT rqst_ord
LOCAL cFilterExp
cFilterExp = "USER_ID =[" + thisform.cCurrentUserID + "]"
SET FILTER TO &cFilterExp
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform