Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to properly refresh child information
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
How to properly refresh child information
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01192421
Message ID:
01192421
Vues:
56
Hi everybody,

I'm trying to figure out the good way of adding records into child table and refresh the child grid.

I have the following 3 tables:
Problems
Resolutions
ProblemResolution (iID, iProblem_Code, iResolution_Code)

In the top portion of the form I show Problems table info + All records from Problems table in a grid (bound to CA)

In the low portion of the form I show related Resolutions information using also CA. (for display purpose only).

I have ability to add related resolutions (using just simple CA for ProblemResolution table).

My problem is: how can I "refresh" child grid when I add new records, but haven't saved them yet? The CA for child grid doesn't know about my manipulations with CA_ProblemResolution...

Any bright ideas for solving this little problem? I may add few records into the child, then decide to revert, then start adding again...

Thanks a lot in advance.
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform