Bug in DBFDesktop APP

Posted by fduenas on  2002-02-14 15:25:34

If you go to the "Find" function in the DBFDesktop, and select a field, then you keep typing something in the same combobox of the field, the app sends you and error: "Access violation at address 00418CF4 in module 'Dbftop.exe. Read of address 00000288 And closes the table that is open too.


status: CLOSED    Urgency: MEDIUM    As Of: 2002-02-14 15:25:34

Comment:

You can go to the source in the findrec.pas and filterrec.pas and correct this in the ComboBox1Click event to change the DataField.Free to DataField := nil:

procedure TFilterForm.ComboBox1Click(Sender: TObject);
begin
   DataField := nil;
   if ComboBox1.ItemIndex = -1 then exit;
   DataField := TField(ComboBox1.Items.Objects[ComboBox1.ItemIndex])
end;

The DBFDesktop program is a demo, and while we will continue to provide updates, it is not a production product.

The download executable will be updated at the beginning of March 2002.