sc_begin_trans

Hi,

Can anyone give me some instructions on how to use this feature??

sc_begin_trans

Re: sc_begin_trans

Dear Marco,

The macro sc_begin_trans, sc_commit_trans and sc_rollback_trans is to use transaction data base solution.

http://en.wikipedia.org/wiki/Database_transaction

Steps:

  • You open the transaction with sc_begin_trans.
  • you can use sc_lookup() and sc_exec_sql() to modify the database.
  • you can accept the modify and fnish the transaction using sc_commit_trans(). Or you can deny the modify an d close the transaction using sc_rollback_trans().

http://downloads.scriptcase.net/downloads/v5/manual/en_us/webhelp/manual_mp/80-Apendice/08-Programacao/01-Macro_sc/00-macros_sc.htm#sc_begin_trans

http://downloads.scriptcase.net/downloads/v5/manual/en_us/webhelp/manual_mp/80-Apendice/08-Programacao/01-Macro_sc/00-macros_sc.htm#sc_commit_trans

http://downloads.scriptcase.net/downloads/v5/manual/en_us/webhelp/manual_mp/80-Apendice/08-Programacao/01-Macro_sc/00-macros_sc.htm#sc_rollback_trans

Regards,

Jos? Arteiro
NetMake - Solu??es em Inform?tica

Re: sc_begin_trans

I can use it on_init event? how can I delete the pending transaction when you close the form?

thank you very much