109 |
|
|
110 |
|
implementation |
111 |
|
|
112 |
+ |
uses IBCustomDataSet; |
113 |
+ |
|
114 |
|
function EditFieldLink(aMaster: TDataSet; aIndexDefs: TIndexDefs; |
115 |
|
var aDetailIndexFieldNames: string; var aMasterIndexFieldNames: string |
116 |
|
): boolean; |
251 |
|
I: integer; |
252 |
|
begin |
253 |
|
DetailedFieldListBox.Clear; |
254 |
+ |
if Master is TIBCustomDataset then |
255 |
+ |
with TIBCustomDataSet(Master) do |
256 |
+ |
if (Database = nil) or not Database.Connected then Exit; |
257 |
|
IndexDefs.Update; |
258 |
|
for I := 0 to IndexDefs.Count - 1 do |
259 |
|
with IndexDefs[I] do |