Subject RE: [IBO] Refreshing in TIB_Query
Author Jason Wharton
When you say "the list" what do you mean?
IBO has mechanisms designed to make this stuff very efficient.
You might want to take a look at the RefreshAction property so that when you
do a refresh you will get the kind of behavior you want.

Jason Wharton

-----Original Message-----
From: jaguarius2003 [mailto:jaguarius@...]
Sent: Tuesday, September 14, 2004 8:45 AM
Subject: [IBO] Refreshing in TIB_Query

Hi all,

I have a question about refreshing. I am using TIB_Queries and
TIB_Connection. I am not using cached updates, I just want a record to
immediately post to the db.

Whenever a new record is posted, it does not show up in the list of
records until I restart the program. Some time ago I "fixed" this
problem by putting a dataset.refresh command in the "onafterpost"
event handler of the TIB_Query, which was fine at the time. However,
this loses the current position in the dataset and as I am approaching
my release date I realize I need this fixed - ideally it would focus
the newly entered record immediately, or at least focus the previously
focused record.

So basically, I need the posted records to appear in the list without
losing position in the database, or ideally to focus the new record
right away. I presume I am simply missing a setting somewhere, but I
have tried quite a number of different things with the same result :
posted records not appearing.

Thanks for the help in advance,

Jason S. Gagnon