Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Firedac tfdConnection Properties


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 2 - Last Post: Apr 16, 2018 11:11 AM Last Post By: Barry Wood
Barry Wood

Posts: 73
Registered: 9/3/01
Firedac tfdConnection Properties  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 16, 2018 9:11 AM
Hi
Is it possible to access the tfdConnection properties at runtime? I ask as I have two connection components, one for test the other for live and I need to display a message on the opening screen stating which connection is active.
Lajos Juhasz

Posts: 801
Registered: 3/14/14
Re: Firedac tfdConnection Properties  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 16, 2018 10:23 AM   in response to: Barry Wood in response to: Barry Wood
Barry Wood wrote:

Hi
Is it possible to access the tfdConnection properties at runtime? I
ask as I have two connection components, one for test the other for
live and I need to display a message on the opening screen stating
which connection is active.

Of course you can access the properties of the object. However, you
could use only one connection just change the properties.
Barry Wood

Posts: 73
Registered: 9/3/01
Re: Firedac tfdConnection Properties  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 16, 2018 11:11 AM   in response to: Barry Wood in response to: Barry Wood
I have tried doing this with just one connection and changing the properties but I had so many strange errors from FireDac which I could find no clear answers for that I went back to this 'manual' way of doing it, which works with no errors. Hence I'm asking how to get to the properties at runtime. So far whenever I try to access a property, like if the connection is active or not, I can't find a way.

Barry Wood wrote:
Hi
Is it possible to access the tfdConnection properties at runtime? I ask as I have two connection components, one for test the other for live and I need to display a message on the opening screen stating which connection is active.
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02