pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
DataSets in Delphi
3+ messages / 3 participants
[nested] [flat]

* DataSets in Delphi
@ 2000-01-10 13:12 Marcio Alexandroni da Silva <trade.marcio@uol.com.br>
  2000-01-10 13:39 ` Re: [INTERFACES] DataSets in Delphi Jyry Kuukkanen <jyry@neutech.fi>
  2000-01-10 19:14 ` Re: [INTERFACES] DataSets in Delphi john huttley <john@mwk.co.nz>
  0 siblings, 2 replies; 3+ messages in thread

From: Marcio Alexandroni da Silva @ 2000-01-10 13:12 UTC (permalink / raw)
  To: pgsql-interfaces@hub.org

Hi Friends,

I'm using Delphi 3 and ODBCExpress Components do Access Data in PG. The
problem is that the data can't be refreshed, ie., when some station updates
a table, the others keep seeing old data! The default command Refresh from
ODBCExpress and even Delphi TDataSet doesn't work.

Does anyone have any idea?

Thank you,

Marcio Alexandroni.




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: [INTERFACES] DataSets in Delphi
  2000-01-10 13:12 DataSets in Delphi Marcio Alexandroni da Silva <trade.marcio@uol.com.br>
@ 2000-01-10 13:39 ` Jyry Kuukkanen <jyry@neutech.fi>
  1 sibling, 0 replies; 3+ messages in thread

From: Jyry Kuukkanen @ 2000-01-10 13:39 UTC (permalink / raw)
  To: Marcio Alexandroni da Silva <trade.marcio@uol.com.br>; +Cc: pgsql-interfaces@hub.org

> I'm using Delphi 3 and ODBCExpress Components do Access Data in PG. The
> problem is that the data can't be refreshed, ie., when some station updates
> a table, the others keep seeing old data! The default command Refresh from
> ODBCExpress and even Delphi TDataSet doesn't work.
> 
> Does anyone have any idea?

I've run into same problem and I over came it by doing 

dataset.Close;
dataset.Open;

and that seemed to do the trick, at least in my case.


--Jyry





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: [INTERFACES] DataSets in Delphi
  2000-01-10 13:12 DataSets in Delphi Marcio Alexandroni da Silva <trade.marcio@uol.com.br>
@ 2000-01-10 19:14 ` john huttley <john@mwk.co.nz>
  1 sibling, 0 replies; 3+ messages in thread

From: john huttley @ 2000-01-10 19:14 UTC (permalink / raw)
  To: Marcio Alexandroni da Silva <trade.marcio@uol.com.br>; pgsql-interfaces@hub.org

Hello,
THis is standard Delphi bug. Refresh on sql queries doesn't do much. You
can't easily override it
either, since its not virtual.

Just close and reopen the data set.


Regards,




> Hi Friends,
>
> I'm using Delphi 3 and ODBCExpress Components do Access Data in PG. The
> problem is that the data can't be refreshed, ie., when some station
updates
> a table, the others keep seeing old data! The default command Refresh from
> ODBCExpress and even Delphi TDataSet doesn't work.
>
> Does anyone have any idea?
>





^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2000-01-10 19:14 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-01-10 13:12 DataSets in Delphi Marcio Alexandroni da Silva <trade.marcio@uol.com.br>
2000-01-10 13:39 ` Jyry Kuukkanen <jyry@neutech.fi>
2000-01-10 19:14 ` john huttley <john@mwk.co.nz>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox