On Thu, Jul 29, 2010 at 3:46 PM, Rafael Copquin <[email protected]> wrote: > Can you show me an example of a SP for the header table and one for the > details table? > > Also, from your reply I understand that you advise me not to use VFP > transaction code at all > > What about CA's? > Should I replace them for regular cursors to be saved via the SP? ------------
Lots of great info here: <http://msdn.microsoft.com/en-us/magazine/cc188749.aspx> You can add an outbound param to pass back teh key of what you just inserted via SELECT SCOPE_IDENTITY() -- Stephen Russell Sr. Production Systems Programmer CIMSgts 901.246-0159 cell _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

