Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursors and Data Environments
Message
From
16/07/1998 11:05:48
 
 
To
16/07/1998 10:37:58
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00118104
Message ID:
00118117
Views:
13
>You don't need in this relationships. Actually, the code snippet should look like this:
>*** move record pointer in clients tables (nav button or combo selection)
>nId=clients.id
>Select * From Trips Into Cursor curTrip Where Trips.clientid=nId

Ok, that makes sense.

>This is simplified code, in real situation you better CREATE CURSOR first, e.g. in Form.Init event and just repopulate it when clients pointer moved.

I hate to sound like a two-year-old, but, "Why?" Is there a reason that it's better to create the cursor first instead of just letting the SQL create it?

Thanks,

-Michelle
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform