Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL-Replace based on another table
Message
De
16/11/1999 11:28:59
 
 
À
16/11/1999 11:18:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00291482
Message ID:
00291488
Vues:
24
>
>select primary
>replace approved with .f. for all encumb_id in ;
>     (select encumb_id from secondary where noapp = .f.)
>
Denise,

Try this:

select secondary
set order to noapp
select primary
set relation to approved into secondary
replace all approved with secondary.encumb_id for !eof("secondary")

This should get you what you want the only problem is if
secondary is a view that is buffered you will have to turn off buffering
before creating the index tag.

Hope this helps

Jeff Whitaker
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform