BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TDatabase and TTable

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Desktop)
View previous topic :: View next topic  
Author Message
Man Utd
Guest





PostPosted: Mon Dec 05, 2005 10:42 pm    Post subject: TDatabase and TTable Reply with quote



How do I link a TDatabase to a TTable ?


Back to top
Bill Todd
Guest





PostPosted: Tue Dec 06, 2005 12:34 am    Post subject: Re: TDatabase and TTable Reply with quote



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





PostPosted: Tue Dec 06, 2005 4:16 am    Post subject: Re: TDatabase and TTable Reply with quote



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





PostPosted: Tue Dec 06, 2005 9:02 am    Post subject: Re: TDatabase and TTable Reply with quote

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





PostPosted: Tue Dec 06, 2005 11:29 am    Post subject: Re: TDatabase and TTable Reply with quote

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





PostPosted: Tue Dec 06, 2005 11:59 am    Post subject: Re: TDatabase and TTable Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Desktop) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.