Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parent - child - no workaround?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01192489
Message ID:
01192499
Vues:
14
This message has been marked as a message which has helped to the initial question of the thread.
>Hi everybody,
>
>Let me try to re-phrase the problem, which I believe doesn't have a nice solution except for forcing save after each insert into the child table.
>
>I have a parent and a child table displayed on a form. For the parent table I display records in a grid and I refresh related child information when I navigate through the records (in grid's ARCC method). I'm using CA for the parent and a separate CA for the child.
>
>Now, I'd like to be able to add records to the child table. I found, that once added, I can not refresh the information when I navigate through the parent. It looks logical, but for some reason I do not see any error returned.
>
>Anyway, does it mean what I have to somehow check for uncommitted changes trying to navigate and present a question to the user?
>
>What would be a way to solve this problem?
>
>Thanks a lot in advance.

Just disable grid :o)
What happens if you use that:
IF NOT ChildCA.CursorRefresh()
   AERROR(laError)
   MessageBox(laError[1,2])
ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform