Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
See relationships
Message
De
19/09/2014 15:56:18
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
See relationships
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01607878
Message ID:
01607878
Vues:
118
Hi all -

I confess to lots of embarrassment in asking this question but it's been years since I have used VFP and I just can't remember . . .
I was demoing relationships to a friend and wanted to show him how you can open 2 browse windows and view the child records belonging to the parent table's record. I have done this hundreds of times but can't seem to make it work now. What gives?
My code sample.
CLOSE TABLES all
SELECT 1
USE segment_master

SELECT 2
USE countmaster

SET ORDER TO loc_id

BROWSE nowait

SELECT 1
SET RELATION TO loc_id INTO countmaster

BROWSE nowait
I expected this to display the records in countmaster as I scroll through segment_master, but the countmaster window comes up empty. What did I miss?
Thanks
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform