Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Another grid strange behaviour
Message
De
13/07/2000 17:27:50
 
 
À
10/07/2000 10:32:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00388106
Message ID:
00392082
Vues:
12
>I have tested it from command window. This way:
>->Open two tables (parent and child)
>->Create a browse window to each of them.
>->Set a relation between tables. This step you will see only related records on browse window of the child table. Ok.
>->Destroy the relation between tables (set relation to command)
>->The child window browse continues to show only the related records of the parent window. No matter what you do (refresh forms, goto recno(), etc.)
>
>Sorry by later response. I was on vacation...
**********************************************
Ok, try something else;
Make test form, put parent and child table in dataenvironment
relate them as you wish, and then put two grids on form, one with parent and one with child table as record source. Then create two methods, first to break relationship and second to restore it back again.
Now add two buttons that are calling mentioned methods and see what's goin'on
Note - at loading of the form tables has to be already related (DE)
I did not test it with browse window because I dont use browse command any more, but this should work seamlesly.

Also you can test table relations using datasession window.
I hope this will help you.

Regards
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform