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 

Table Fields names

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





PostPosted: Thu May 17, 2007 3:57 am    Post subject: Table Fields names Reply with quote



how can i get table fields names, sql or something

please
Back to top
Anthonious
Guest





PostPosted: Thu May 17, 2007 3:58 am    Post subject: Re: Table Fields names Reply with quote



all the attributes of the field if possible please


"Anthonious" <anthonious (AT) hotmail (DOT) com> wrote in message
news:464b8c36$1 (AT) newsgroups (DOT) borland.com...
Quote:
how can i get table fields names, sql or something

please

Back to top
Brian Bushay TeamB
Guest





PostPosted: Thu May 17, 2007 6:40 am    Post subject: Re: Table Fields names Reply with quote



Quote:
how can i get table fields names, sql or something

If you are using a ttable just iterate through the Tfields and look at the
Tfield properties.

If you are using something else provide some more specific information on the
database you are using.
--
Brian Bushay (TeamB)
Bbushay (AT) NMPLS (DOT) com
Back to top
Bill Todd
Guest





PostPosted: Thu May 17, 2007 7:32 pm    Post subject: Re: Table Fields names Reply with quote

When you ask database questions please tell us what database you are
using. I'll guess you are using a TTable componnet with your database.

for I := 0 to Table1.FieldDefs.Count - 1
begin
...do whatever
end;

See the properties of TFieldDef in the on-line help.

--
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.