Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remote View
Message
 
 
To
30/09/1999 15:36:54
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Miscellaneous
Thread ID:
00271293
Message ID:
00271519
Views:
17
>I want to create a remote view to do something like this:
>
>SELECT [field list] FROM [table] WHERE ?cExpression = .t.
>
>I want to build cExpression on the fly, then re-query the view. For example, the user can enter values and I build an expression that says cName = 'First Bank' and cState = 'TX', then re-query the view. Or someone else might want to query with cPhone = '555-1212'. This way the users would have the most flexibility in selecting the records they want to work with. I could even add something like StoneField Query to give the users a user friendly interface for building the expression.
>
>My question is: CAN THIS BE DONE?
>
>I have tried several different methods and either the view will not be created or when I try to open the view, I get an syntax error.

You can build an executable query to create a cursor this way, but you can not create a SQL view this way.
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform