[DUG] DAC Table Dynamic Active
Bob Pawley
rjpawley at shaw.ca
Sun May 1 13:22:59 NZST 2011
Hi Graham
Thanks for the info. It was what I expected but hoped to avoid as it becomes
a minor maintenance.
I would really appreciate it if you could also point me to a method for
using the DAC Dump component.
None of my searches have resulted in an example.
Bob
-----Original Message-----
From: Graham Marsden
Sent: Saturday, April 30, 2011 6:13 PM
To: delphi at delphi.org.nz
Subject: [DUG] DAC Table Dynamic Active
Hi Bob
You can (re)activate a DAC table using ...
PSQLTable.Active := True
You cannot do PSQLTable*.Active := True to do all tables in one line.
They all need to addressed individually.
I usually activate all tables in the OnCreate event for the form to be sure
they are all active. If you rely on them
being active from the design-time view you can have problems if the
design-time loses connection with the server.
Happy to advise further as I have used the DAC tool set for a while now.
Graham
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi at delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
unsubscribe
More information about the Delphi
mailing list