Board index » delphi » TTable Problem

TTable Problem

[ Table.txt < 1K ]

I have a problem with tables in Delphi 1.0.
I have two apps using a Paradox table. The
apps may reside on different machines linked
by MS WIN95 Network.
Each one of these apps are connected to the table
by means of their own TDataSet and TTable components.
If the first app changes the data in the table, the
second app does not 'see' this new data. Somehow it
has to be automatically notified of changes
in the data. Do I need Delphi CLient/Server for this, or
will the desktop version suffice? How do I solve this problem?

Could someone PLEASE reply!

Thank you!
L.J. van Alphen
l...@ccii.co.za

 

Re:TTable Problem


Quote
Manie Steyn wrote:

> I have a problem with tables in Delphi 1.0.
> I have two apps using a Paradox table. The
> apps may reside on different machines linked
> by MS WIN95 Network.
> Each one of these apps are connected to the table
> by means of their own TDataSet and TTable components.
> If the first app changes the data in the table, the
> second app does not 'see' this new data. Somehow it
> has to be automatically notified of changes
> in the data. Do I need Delphi CLient/Server for this, or
> will the desktop version suffice? How do I solve this problem?

The app that is not changing the data will not see the changes until it
reads the data anew. This could happen either by moving to the
previous/next record and back to the changed record or by user issuing a
refresh command from the TDBNavigator. The refresh command can also be
given in code if you think the data has changed.

Mats
--
////////////////////////////////////////////////////////////////////
Argue for your limitations                      Mats Andersson  
and you can be sure to keep them                Jakobstad
                Donald Shimoda                  FINLAND 967-7236 105
/////////////////////////////////////////////////////////////////////

Re:TTable Problem


m> [...] MS WIN95 Network. [...]

M> If the first app changes the data in the table, the
m> second app does not 'see' this new data. Somehow it
m> has to be automatically notified of changes
m> in the data.

Set "Local Share" to TRUE in BDE-Config.

Bye,
  Georg.

Other Threads