Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
One to Many question
Message
 
To
04/01/1999 04:30:58
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00172331
Message ID:
00172346
Views:
26
>Should I wrap the whole thing into one transaction? Or do I have each record added as entered? I like the PageFrame idea.

Probably down to specific requirements. There are different options here. As for transactions, I would prefer to use single transactions but there may be a requirement for the parent record to be added immediately and possibly the first child record? Another option is to use cursors to hold the data until you finish and then add them.

This is similar to the data entry system I used many years ago where you have different levels. The first was normally a summary (number of records to follow) which could be validated when finished entering records. Each set of data was in a separate file and could be updated to the main tables at the end of each entry run - probably not what you want but may offer some insight.
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Previous
Reply
Map
View

Click here to load this message in the networking platform