| View previous topic :: View next topic |
| Author |
Message |
Anthonious Guest
|
Posted: Thu May 17, 2007 3:57 am Post subject: Table Fields names |
|
|
how can i get table fields names, sql or something
please |
|
| Back to top |
|
 |
Anthonious Guest
|
Posted: Thu May 17, 2007 3:58 am Post subject: Re: Table Fields names |
|
|
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
|
Posted: Thu May 17, 2007 6:40 am Post subject: Re: Table Fields names |
|
|
| 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
|
Posted: Thu May 17, 2007 7:32 pm Post subject: Re: Table Fields names |
|
|
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 |
|
 |
|