Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Validation in one-to-many form
Message
From
21/04/1999 15:30:43
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Validation in one-to-many form
Miscellaneous
Thread ID:
00210708
Message ID:
00210708
Views:
42
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
Next
Reply
Map
View

Click here to load this message in the networking platform