Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add method
Message
From
19/08/1997 11:28:12
 
 
To
19/08/1997 11:17:53
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00045557
Message ID:
00045563
Views:
38
>How do I create a generic add method that will allow me to save records in two or three different tables, with or without PK ? I have tried and failed many times. Also, I have used the MS.Wizard but it does not work for this type. Plese help.

If PK stands for primary keys, you should have them. Basically, they will 'discipline' you code. However, you should write this code to populate related tables (INSERT-SQL is the best command here). You could either put it into some Form.method or into App.method or into INSERT trigger of your 'first-inserted' table.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform