Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Local View on temporary cursor?
Message
De
26/02/2003 14:41:56
 
 
À
26/02/2003 11:41:35
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00757746
Message ID:
00758360
Vues:
24
>Hello Chris,
>
>Assuming the following:
>1. You're using a view to pull the states list. If not, create one <g>
>2. There's a field in Invoices you can use to join it to the states view in assumption #1

Those are the easy parts. But I only want to join (for example) the three records in States that the user selected, not the entire list. Maybe I'm just overthinking this... Putting a WHERE Selected (=.t.) into the view clause will have VFP do the work, rather than me trying to create a new three-record cursor and do a full join.

Why is it that when things look difficult, it's always because I overlook the obvious?


>I would create an event (typically BizObjs are used to add/edit/delete records and the extra memory overhead of one may be unnecessary here) with a few public methods to do what you need. Each would then make an internal call to a private method that sets a relationship between the two views.
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform