Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inter-database relations
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Inter-database relations
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Divers
Thread ID:
01189059
Message ID:
01189059
Vues:
71
Hi Everybody, happy new year!

I ran into something interesting today and am intrigued by it...

I need to establish a relation between tables that belong to different databases.

The code looks something like this:
use dbc1!authors
use dbc2!books in 0
select authors
set relation to AuthorID into books
When I run the above, and open a browse window for each table and move around in the parent, the child's browse updates correctly, showing only records that are children of the record selected in the parent table.

However, if I do the following in the command window, it doesn't work:
select authors
goto 5
? books.eof() && This one yields .t. - it's as if the record pointer stays at eof() in the child area.
Any ideas?

Thanks!
Low-carb diet not working? Try the Low-food diet instead!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform