Someone using UIB 2.5?

Someone using UIB 2.5?
It seems there is a bug in TUIBDataset.Next
At first call (after open) it do nothing

Comments

  1. First call to what?  Can you provide some simple sample code that demonstrates the issue?

    ReplyDelete
  2. Mason Wheeler
    I finally found that it only persist with Unidirectional dataset after calling First. Not sure it is a bug.

    D.SQL.Text:='select * from rdb$database';
    D.Unidirectional:=true;
    D.Open;
    D.First;
    while not D.Eof do begin
       ListBox1.Items.Add(D.Fields[0].AsString);
       D.Next;
     end;

    ReplyDelete

Post a Comment