Diman
Admin
 Admin
| Posts: 1495 |  | Karma: 19 |
|
Re:Master-Detail through MasterSource in ADQuery
|
|
Posted: 2007/08/08 01:17 |
|
|
|
|
Hello
1) On False b value in master - Ok - shows all records with False in detail On True b value in master detail is empty Ok, fixed. To fix this issue, open daADDatSManager.pas, find there method TADDatSRow.CompareData and replace code for dtBoolean with this one:
dtBoolean:
if PWordBool(ABuff1)^ then
if PWordBool(ABuff2)^ then
Result := 0
else
Result := 1
else
if PWordBool(ABuff2)^ then
Result := -1
else
Result := 0;
|
2) setting IndexFieldNames before MasterFields is significant
In AnyDAC it must work well. If not, then please report your case.
Regards,
Dmitry
|
|