FilterRecord does not work on open a table
Hello Jan, in BDE I found procedure TTable.FindNearest(const KeyValues: array of const); begin CheckBrowseMode; SetKeyFields(kiLookup, KeyValues); GotoNearest; end; So I used SetKeyFields in my LocateRecord function in the same way. Only the KeyFields are changed, not the real data. Best regards, Bernhard
Hello Jan, my component is started in 2005 with Delphi 7. Therefore the old behaviour. In the zip is a short part of this component. The attributes for tzconnection are empty. GetIndexField(0).AssignValue(Value) in my source causes the error. My version of ZAbstractRODataset.pas is attached. I think, there is no risk. Best regards, Bernhard
Hello Jan, my component is started in 2005 with Delphi 7. Therefore the old behaviour. In the zip is a short part of this cmponent. The attributes for tzconnection are empty. GetIndexField(0).AssignValue(Value) in my source causes the error. My version of ZAbstractRODataset.pas is attached. I think, there is no risk. Best regards, Bernhard
Hello Jan, my component is started in 2005 with Delphi 7. Therefore the old behaviour. In the zip is a short part of this cmponent. The attributes for tzconnection are empty. My version of ZAbstractRODataset.pas is attached. I think, there is no risk. Best regards, Bernhard
Hello Jan, i have written a MySQL replacement for BDE TTable. The locate function for it requires LocateRecord in the same way as BDE: function TBDEDataSet.Locate(const KeyFields: string; const KeyValues: Variant; Options: TLocateOptions): Boolean; begin DoBeforeScroll; Result := LocateRecord(KeyFields, KeyValues, Options, True); if Result then begin Resync([rmExact, rmCenter]); DoAfterScroll; end; end; I have updated an old BDE project via text replace for .pas and .dfm files: TTable -> TMySQLTable....
Hello Jan, i have written a MySQL replacement for BDE TTable. The locate function for it requires LocateRecord in the same way as BDE: function TBDEDataSet.Locate(const KeyFields: string; const KeyValues: Variant; Options: TLocateOptions): Boolean; begin DoBeforeScroll; Result := LocateRecord(KeyFields, KeyValues, Options, True); if Result then begin Resync([rmExact, rmCenter]); DoAfterScroll; end; end; I have updated an old BDE project via text replace for .pas and .dfm files: TTable -> TMySQLTable....
Hello Jan, i have written a MySQL replacement for BDE TTable. The locate function for it requires Locate Record in the same way as BDE: function TBDEDataSet.Locate(const KeyFields: string; const KeyValues: Variant; Options: TLocateOptions): Boolean; begin DoBeforeScroll; Result := LocateRecord(KeyFields, KeyValues, Options, True); if Result then begin Resync([rmExact, rmCenter]); DoAfterScroll; end; end; I have updated an old BDE project via text replace for .pas and .dfm files: TTable -> TMySQLTable....