Report Query LockType
Report Builder 7.02 (using ADO)
Delphi 5
I have a need to change to the locking mechanism that the dynamically
generated report queries use.
I would like to change them to be LockType.ltReadOnly. I don't see that this
is possible. If it isn't currently possible can I ask it as a feature
request for the next minor release of report builder.
Regards,
Paul.
Delphi 5
I have a need to change to the locking mechanism that the dynamically
generated report queries use.
I would like to change them to be LockType.ltReadOnly. I don't see that this
is possible. If it isn't currently possible can I ask it as a feature
request for the next minor release of report builder.
Regards,
Paul.
This discussion has been closed.
Comments
You can access the LockType of the TADOQuery by typecasting the DataSet of
the QueryDataView in DADE. Below is an example of code I wrote to change
the LockType at runtime...
TADOQuery(daADOQueryDataView1.DataSource.DataSet).LockType := ltReadOnly;
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com