Jump to content

I need a Help in vb6

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
msrajamca

msrajamca

    Newbie

  • Members
  • Pip
  • 2 posts
Hai,

I am new in vb6. Now i was started a programe for developing Granite Processing System. For that i have lot of problems.

For ex:

If i click the save button, it will execute all queries i am writing. it is having 5 insert statement. after completing 3 queries i have an error for some thing. Execute all five queries without an error this is exexute. Inbetween any errror will occur i will be remove the last transaction.


How to Use the transactions.

#2
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
What's the error message?
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#3
mbshinde78

mbshinde78

    Newbie

  • Members
  • PipPip
  • 19 posts
I think you can use begintrans and committrans. This will allow you to either insert all transactions or insert none.