1. you get all the input values from the user.
2. you set up one data object per table you need to do updates.
3. get a CSpTransaction object.
4. Do one update at a time.
5. Test for success.
6. If all of them are successful commit.
7. else roolback.

Look at the documentation for how to use data objects in a transaction in ND.


"Rajneesh Garg" <[EMAIL PROTECTED]> wrote:
>
>Hi there!
>
>I am working on ND5 with Oracle 8i as database. The current project work involves
 the updation of data based on the values inputted by the user. These inputted values
 may be required to update more than one table. It is required that this should happen
 in one transaction only--either fully updation of all tables or no updation at all.
 
>I am not able to figure out the exact approach I should follow. Please help me out. 
>Sample code will be of much help.
>
>Thanx.
>
>Rajneesh Garg
>[EMAIL PROTECTED]

_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to