Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Query remote data
Message
 
To
15/09/2005 14:21:17
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
01050017
Message ID:
01050024
Views:
9
Roman,

You can scan the cursor for IsSelected and create a comma delimited list of primary keys. Then, use that list in an IN (lcList) clause of the next query. Or you can create a stored proc that takes that comma delimited list as a parameter. Something like that.

HTH,
Chad


>Client app: VFP8
>Server DB: SQL 2000
>
>There is a SQL table. I get data from that table into VFP cursor by SQLEXEC(). I add 1 field on the fly "1 AS IsSelected". The cursor is a datasource for a grid. Grid rows have checkboxes. Checkboxes column is bound to IsSelected field. User can make multiple choice by checking those checkboxes on and off. I need to run a query on another SQL table based on user selection.
>
>How would I pass user selection back to SQL? What are my options?
>
>Thanks.
_________________________________
There are 2 types of people in the world:
    Those who need closure
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform