| View previous topic :: View next topic |
| Author |
Message |
Man Utd Guest
|
Posted: Mon Dec 05, 2005 10:42 pm Post subject: TDatabase and TTable |
|
|
How do I link a TDatabase to a TTable ?
|
|
| Back to top |
|
 |
Bill Todd Guest
|
Posted: Tue Dec 06, 2005 12:34 am Post subject: Re: TDatabase and TTable |
|
|
Man Utd wrote:
| Quote: | How do I link a TDatabase to a TTable ?
|
Enter the name of your choice in the DatabaseName field of both
components.
--
Bill Todd (TeamB)
|
|
| Back to top |
|
 |
Man Utd Guest
|
Posted: Tue Dec 06, 2005 4:16 am Post subject: Re: TDatabase and TTable |
|
|
For the TDatabase component, do I need to also specify the AliasName ?
"Bill Todd" <no (AT) no (DOT) com> wrote
| Quote: | Man Utd wrote:
How do I link a TDatabase to a TTable ?
Enter the name of your choice in the DatabaseName field of both
components.
--
Bill Todd (TeamB)
|
|
|
| Back to top |
|
 |
Mike Shkolnik Guest
|
Posted: Tue Dec 06, 2005 9:02 am Post subject: Re: TDatabase and TTable |
|
|
| Quote: | For the TDatabase component, do I need to also specify the AliasName ?
You muist specify the AliasName property if you use the alias or |
DatabaseName property if you want to define the path where database is
--
With best regards, Mike Shkolnik
EMail: [email]mshkolnik (AT) scalabium (DOT) com[/email]
http://www.scalabium.com
|
|
| Back to top |
|
 |
Brad Prendergast Guest
|
Posted: Tue Dec 06, 2005 11:29 am Post subject: Re: TDatabase and TTable |
|
|
Man Utd <alanpltseNOSPAM (AT) yahoo (DOT) com.au> wrote in message
<4394c223$1 (AT) newsgroups (DOT) borland.com>:
| Quote: | How do I link a TDatabase to a TTable ?
|
In code something like this:
Table1.DatabaseName:= Database1.DatabaseName;
or you can assign the databasename property in the Object Inspector.
--
Brad Prendergast
"The only difference between me and a madman is that I'm not mad." --
Salvador Dali (1904 - 1989)
|
|
| Back to top |
|
 |
Bill Todd Guest
|
Posted: Tue Dec 06, 2005 11:59 am Post subject: Re: TDatabase and TTable |
|
|
Either specify an alias in the AliasName property or, if you are using
a local Paradox or dBase database, Set the Path=c:foo parameter in the
Params property.
--
Bill Todd (TeamB)
|
|
| Back to top |
|
 |
|