We can't reproduce this here. Was retested with BDEDEMOS en Events database with a TQuery and the code
procedure TForm2.Button1Click(Sender: TObject);
begin
query1.SQL.Text := 'SELECT VenueNo, EventNo from events';
query1.Active := true;
end;
procedure TForm2.Button2Click(Sender: TObject);
begin
query1.SQL.Text := 'SELECT VenueNo, EventNo, Event_Name from events';
query1.Active := true;
end;
procedure TForm2.FormCreate(Sender: TObject);
begin
dbadvgrid1.AutoCreateColumns := true;
dbadvgrid1.AutoRemoveColumns := true;
end;
and this shows 2 and 3 columns respectively.
If a problem persists, please contact us by email with some sample source project with which we can reproduce thi s issue here.
If a problem persists, please contact us by email with some sample source project with which we can reproduce thi s issue here.