Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Validation in one-to-many form
Message
De
21/04/1999 15:30:43
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Validation in one-to-many form
Divers
Thread ID:
00210708
Message ID:
00210708
Vues:
41
In one-to-many form I would like to validate each record of the
child table for the current parent record. All the code to do this I have inserted on the click event for the save button.

I just have added the last child record. At this point the record pointer is positioned on the last child record.

With the aim to make the validation I must to position on the first record of the child table according to the current parent record.

Select parent
Select child
SCAN WHILE child.key = parent.key
code to do the validation
ENDSCAN

The problem is that the validation occurs only for the last child record.

When I select the parent table and after the child table the record pointer should not to position on the first child record for the current parent record?
This is not happening.

What am I doing wrong?
Antonio Carlos Kleinübing
Systems Analyst
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform