Home All Groups Group Topic Archive Search About
Author
24 Mar 2006 4:32 PM
Steve Caliendo
Hi,

Does anyone know how I can have this control update to be current with the
database?  When I start the app, it correclty loads and displays the values
that are in my table.  But when I change some values in the database table,
I would like the flexgrid to also show those changes without re-starting the
app.

Thanks,

Steve

Author
24 Mar 2006 6:54 PM
Frisbee®
"Steve Caliendo" <scalie***@epion.com> wrote in message
news:u6$HmC2TGHA.4792@TK2MSFTNGP14.phx.gbl...
> Hi,
>
> Does anyone know how I can have this control update to be current with the
> database?  When I start the app, it correclty loads and displays the
> values
> that are in my table.  But when I change some values in the database
> table,
> I would like the flexgrid to also show those changes without re-starting
> the
> app.

Without checking to be sure, probably the .Rebind method.  Depends on what
storage method you're using, really.
Author
24 Mar 2006 11:00 PM
Jeff Johnson [MVP: VB]
"Steve Caliendo" <scalie***@epion.com> wrote in message
news:u6$HmC2TGHA.4792@TK2MSFTNGP14.phx.gbl...

> Does anyone know how I can have this control update to be current with the
> database?  When I start the app, it correclty loads and displays the
> values
> that are in my table.  But when I change some values in the database
> table,
> I would like the flexgrid to also show those changes without re-starting
> the
> app.

You're going to have to either set a timer and periodically Rebind, as
Frisbee(R) said, or possibly set the cursor type to Dynamic, if data binding
allows that. (I never use data binding, so I really don't know.)