Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Matching records via a relationship
Message
De
18/10/2012 15:12:18
 
 
À
18/10/2012 15:04:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01555281
Message ID:
01555284
Vues:
46
That will only work when the address fields are exactly alike. If this is the case why not something like
Update File1 set Matched = .t. where File1Address in (Select File2Address from File2)
>I can do this via a scan and lookup, but I think I remember 15 years ago I used to do it with a relationship and it was much faster. Can someone refresh my memory on the technique?
>
>There are 2 tables each with an address column. Table 1 also has a logical field defaulted to false. I want to set this field to true if the address in table1 also exists in table 2. How do you set up the relationship and then mark the matching records true?
>
>Thanks
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform