Subject | Re: [IBO] bookmarks |
---|---|
Author | Florian Hector |
Post date | 2004-12-08T17:19:26Z |
Rick,
selected. If so, do whatever you want to do with it.
var
i: Integer;
....
i := 1;
DMOrders1.QPendingItems.BeginBusy( False );
DMOrders1.QPendingItems.First;
while not DMOrders1.QPendingItems.Eof do
begin
if DMOrders1.QPendingItems.Selected[i] = True then
begin
whatever....
end;
end;
inc(i);
DMOrders1.QPendingItems.next;
To unselect all selected items you use Query.SelectAll(false);
Florian
> I'm working with a TIB_Grid connected to a view in a TIB_QueryIIRC you have to go through the whole Dataset and check if an item is
> that
> has one updateable field.
>
> The user selects multiple fields then right clicks in the grid to
> bring up a popup and marks the bookmarked rows "Complete".
>
> When I track the RowsAffected and RowsSelected properties, I get
> incorrect numbers back like 349 for each value. This is when only
> ONE row is actually updated.
>
selected. If so, do whatever you want to do with it.
var
i: Integer;
....
i := 1;
DMOrders1.QPendingItems.BeginBusy( False );
DMOrders1.QPendingItems.First;
while not DMOrders1.QPendingItems.Eof do
begin
if DMOrders1.QPendingItems.Selected[i] = True then
begin
whatever....
end;
end;
inc(i);
DMOrders1.QPendingItems.next;
To unselect all selected items you use Query.SelectAll(false);
Florian