Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Identity columns and committing table buffered views...
Message
From
22/03/2002 12:46:55
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Identity columns and committing table buffered views...
Miscellaneous
Thread ID:
00636152
Message ID:
00636152
Views:
43
Ok, simple...
I have 10 new recs in a view (vHeader) and I have 100 new recs on child view (vDetail). Both views are table buffered and I am using an Identity column for the pkey of the header table. How would I go about getting the newly assigned pkey values to use as the fkey values in the detail table? @@Identity and the like won't do much for me unless I want to run through my detail after header is committed, etc. Should I simple put a trigger on insert of detail to get value for fkey from parent? In this case I can do that - but what about when key data is not cascaded to detail?
Thanks.
Mark
Reply
Map
View

Click here to load this message in the networking platform