Save up to 35%

What is SetTransObject method?

October 30th, 2009 by uCertify Leave a reply »

The SetTransObject method is used to bind a Transaction object with a DataStore or DataWindow control. The Transaction object provides the information necessary for communicating with a database. Since the SetTransObject method binds the Transaction object with the control, the Retrieve and Update methods execute faster. This is because the database is not required to be connected or disconnected with each method call.

However, if the DataWindow object associated with the DataWindow control (or DataStore) is changed or the database is disconnected and reconnected, SetTransObject must be called to re-bind the connection.

Note: Although, the SetTransObject method is similar to the SetTrans method, SetTransObject call is more efficient and provides better control over transactions.

Like this article? Share it with others
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
  • Share/Bookmark
Advertisement

Leave a Reply

uCertify.com | Our Company | Articles | Contact Us | News and Press Release | uCertify India | Entries (RSS)
MCSE: MCSA, MCTS, MCITP    JAVA Certification: SCJP, SCWCD    Cisco Certification: CCNA, CCENT    A+, Network+, Security+ Project+
Oracle Certification: OCP 11g, OCP 10g, OCA 11g, OCA 10g    CIW foundation    EC-212-32,    CISSP    Photoshop ACE CS4    Adobe Flash ACE, PMP, CAPM
© 2008 uCertify.com. All rights reserved. All trademarks are the property of their respective owners.