Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Advice on Querying Oracle versus standalone tables
Message
From
23/09/1998 11:26:28
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00139848
Message ID:
00139857
Views:
23
Hi Gregory --

If you can't use parameterized views and you have that many user parms, then you may very well have to build up the "SELECT" statement in code and use SQLEXEC. Which is really not a bad thing.



>I am in the process of converting a VFP application from using local tables to using an Oracle database. The application currently allows the user to query the data by filling in any combination of fields. Presently, the program creates the SQL statement and display a grid to the user where they can then highlight a row a press a zoom button that displays a data entry screen with the selected row.
>
>My question is, how do I handle this when querying a Oracle database. Since the user can choose any combination of say 20 fields, using a parameterized view seems out of the question. I assume that I will need to use SQLEXEC statements. Also, allowing the user this capability, the query could result in 1 to 1000's of rows returned. Is this the correct approach, or is there a better way.
>
>Any Input would be greatly appreciated,
>
>Thanks,
>
>Greg
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform