IBCQuery1.UpdateTransaction
In "IBCQuery1.UpdateTransaction" will be.
Company will Fibplus or IBDAC.
Component to IBDAC are currently looking at.
There IBDAC shortcoming related to the sample.
Would you please send a sample application?
In our example is attached.
Correction locked when you register immediately.
1) Question: "edit" while recording record-locking.
2) Question: "IBCQuery1.UpdateTransaction" How do I use?
Would you please send us an example of making the required settings?
https://rapidshare.com/files/4016800581/myibdac.rar
Would you please send us an example of making the required settings?
-
softdestek
- Posts: 7
- Joined: Tue 01 May 2012 06:57
Re: Would you please send us an example of making the required settings?
For automatic locking of the record you should set the IBCQuery1.LockMode property either to lmLockImmediate or lmLockDelayed depending on your needs. Please refer to the topic that is concerned to the TLockMode enumeration in the IBDAC documentation to learn more about using the property.
For using update transaction with the TIBCQuery component in your example, you should place a separate TIBCTransaction component on the form and assign it to the IBCQuery1.UpdateTransaction property. This transaction will be used for modifying a dataset. Please, refer to the "Updating Data with IBDAC Dataset Components" article in the IBDAC documentation for more information. Also, take a look on the IBDAC demo project (the "CachedUpdates" demo) where a separate transaction is used for updating data.
For using update transaction with the TIBCQuery component in your example, you should place a separate TIBCTransaction component on the form and assign it to the IBCQuery1.UpdateTransaction property. This transaction will be used for modifying a dataset. Please, refer to the "Updating Data with IBDAC Dataset Components" article in the IBDAC documentation for more information. Also, take a look on the IBDAC demo project (the "CachedUpdates" demo) where a separate transaction is used for updating data.
-
softdestek
- Posts: 7
- Joined: Tue 01 May 2012 06:57
Re: Would you please send us an example of making the required settings?
1)Where is the link of this article? (IBDAC Updating Dataset with Data Components)
2)No component in two. (IBCTransaction1)
Provided in the sample (the CachedUpdates demo)
3)In two of "IBCTransaction" Would you please send a sample?
Thank you.
Sincerely ..
Note:
Very difficult situation. Just an example I need the program. for Delphi
2)No component in two. (IBCTransaction1)
Provided in the sample (the CachedUpdates demo)
3)In two of "IBCTransaction" Would you please send a sample?
Thank you.
Sincerely ..
Note:
Very difficult situation. Just an example I need the program. for Delphi
Re: Would you please send us an example of making the required settings?
The "Updating Data with IBDAC Dataset Components" article is located in the "Using IBDAC" branch of the IBDAC documentation.
The TIBCConnection component has the DefaultTransaction property. By default this property is set to "<Default>". Default value means that the property is set to the internal connection transaction that is implicitly created by the connection and is used for all operations with data. The connection operates with the default transaction by itself depending on transaction properties, and by default there is no need for user to explicitly call any methods of this transaction.
The TIBCTable and TIBCQuery components have the UpdateTransaction property. This property holds the transaction used for data modification operations (like inserting, editing or deleting data). By default the UpdateTransaction property is empty. This means that the default connection transaction is used for the data modification.
User can create a separate TIBCTransaction component and assign it to the UpdateTransaction property. In this case the separate transaction will be used for data modification. By default update transaction starts automatically when any data modification occurs and commits automatically when the AutoCommit property of the dataset and connection is set to True.
The TIBCConnection component has the DefaultTransaction property. By default this property is set to "<Default>". Default value means that the property is set to the internal connection transaction that is implicitly created by the connection and is used for all operations with data. The connection operates with the default transaction by itself depending on transaction properties, and by default there is no need for user to explicitly call any methods of this transaction.
The TIBCTable and TIBCQuery components have the UpdateTransaction property. This property holds the transaction used for data modification operations (like inserting, editing or deleting data). By default the UpdateTransaction property is empty. This means that the default connection transaction is used for the data modification.
User can create a separate TIBCTransaction component and assign it to the UpdateTransaction property. In this case the separate transaction will be used for data modification. By default update transaction starts automatically when any data modification occurs and commits automatically when the AutoCommit property of the dataset and connection is set to True.