Menu

#20 Master/Detail TIBQuery.BatchXXX fails

open
nobody
None
5
2001-06-15
2001-06-15
No

When using an IBQuery in a Master Detail fashion
(hooking the detail dataset's datasource to the master
and using sql params), the Detail query
BatchOutput/BatchInput do not operate correctly. The
BatchOutput will generate an empty file.

The issue lies with the TIBSQL component. It is used
internally to do the batch move operations. It copies
the query but is unable to copy the current value of
the params. the TIBSQL should have the ability to
connect to a datasource for a Master/Detail
arrangement. Internally, the Query could just assign
its Datasource to the IBSQL object to have it perform
the batch move correctly.

Alternatively, the Query could provide an altered sql
statement as it would appear with the params correctly
valued. This would work as well.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB