 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Arsène Guest
|
Posted: Wed Jul 05, 2006 11:37 pm Post subject: Function Dataset->FieldByName() |
|
|
I'm using Borland C++ Builder 6.0 profesional.
The function FieldByName doesn't work.
I can't reference its fields.
For example, if I write Table1->FieldByname("x")-> , nothing appears. The fields AsInteger, AsFloat, etc... are not availables. |
|
| Back to top |
|
 |
Jayme Jeffman Guest
|
Posted: Fri Jul 07, 2006 4:04 am Post subject: Re: Function Dataset->FieldByName() |
|
|
The "Tooltip exprfession evaluation" option on the "Code Inside" tab of the
"Editor Properties" (Tools->Editor Options...) must be checked otherwise it
does not show the tips.
HTH
Jayme.
"Arsène" <valmlouis (AT) hotmail (DOT) com> escreveu na mensagem
news:44ac06dd$1 (AT) newsgroups (DOT) borland.com...
| Quote: |
I'm using Borland C++ Builder 6.0 profesional.
The function FieldByName doesn't work.
I can't reference its fields.
For example, if I write Table1->FieldByname("x")-> , nothing appears. The
fields AsInteger, AsFloat, etc... are not availables.
|
|
|
| Back to top |
|
 |
Arsène Guest
|
Posted: Fri Jul 07, 2006 5:46 pm Post subject: Re: Function Dataset->FieldByName() |
|
|
Thanks for your answer.
But this option was already checked. The tips are shown. But they are not shown only for functions like FieldByName() or FindComponents().
Arsène
"Jayme Jeffman" <nospan (AT) jeffman (DOT) eng.br> wrote:
| Quote: | The "Tooltip exprfession evaluation" option on the "Code Inside" tab of the
"Editor Properties" (Tools->Editor Options...) must be checked otherwise it
does not show the tips.
HTH
Jayme.
"Arsène" <valmlouis (AT) hotmail (DOT) com> escreveu na mensagem
news:44ac06dd$1 (AT) newsgroups (DOT) borland.com...
I'm using Borland C++ Builder 6.0 profesional.
The function FieldByName doesn't work.
I can't reference its fields.
For example, if I write Table1->FieldByname("x")-> , nothing appears. The
fields AsInteger, AsFloat, etc... are not availables.
|
|
|
| Back to top |
|
 |
Jayme Jeffman Guest
|
Posted: Fri Jul 07, 2006 10:55 pm Post subject: Re: Function Dataset->FieldByName() |
|
|
When you put the editor cursor at the end of an arrow pointer, is the code
completion box shown ?
Jayme.
"Arsène" <valmlouis (AT) hotmail (DOT) com> escreveu na mensagem
news:44ae57af$1 (AT) newsgroups (DOT) borland.com...
| Quote: |
Thanks for your answer.
But this option was already checked. The tips are shown. But they are not
shown only for functions like FieldByName() or FindComponents().
Arsène
"Jayme Jeffman" <nospan (AT) jeffman (DOT) eng.br> wrote:
The "Tooltip exprfession evaluation" option on the "Code Inside" tab of
the
"Editor Properties" (Tools->Editor Options...) must be checked otherwise
it
does not show the tips.
HTH
Jayme.
"Arsène" <valmlouis (AT) hotmail (DOT) com> escreveu na mensagem
news:44ac06dd$1 (AT) newsgroups (DOT) borland.com...
I'm using Borland C++ Builder 6.0 profesional.
The function FieldByName doesn't work.
I can't reference its fields.
For example, if I write Table1->FieldByname("x")-> , nothing appears.
The
fields AsInteger, AsFloat, etc... are not availables.
|
|
|
| Back to top |
|
 |
Arsène Guest
|
Posted: Fri Jul 07, 2006 11:26 pm Post subject: Re: Function Dataset->FieldByName() |
|
|
Yes. If I write for example:
Table1-> , all the tips(properties, methods) appear.
Arsène
"Jayme Jeffman" <nospan (AT) jeffman (DOT) eng.br> wrote:
| Quote: | When you put the editor cursor at the end of an arrow pointer, is the code
completion box shown ?
Jayme.
"Arsène" <valmlouis (AT) hotmail (DOT) com> escreveu na mensagem
news:44ae57af$1 (AT) newsgroups (DOT) borland.com...
Thanks for your answer.
But this option was already checked. The tips are shown. But they are not
shown only for functions like FieldByName() or FindComponents().
Arsène
"Jayme Jeffman" <nospan (AT) jeffman (DOT) eng.br> wrote:
The "Tooltip exprfession evaluation" option on the "Code Inside" tab of
the
"Editor Properties" (Tools->Editor Options...) must be checked otherwise
it
does not show the tips.
HTH
Jayme.
"Arsène" <valmlouis (AT) hotmail (DOT) com> escreveu na mensagem
news:44ac06dd$1 (AT) newsgroups (DOT) borland.com...
I'm using Borland C++ Builder 6.0 profesional.
The function FieldByName doesn't work.
I can't reference its fields.
For example, if I write Table1->FieldByname("x")-> , nothing appears.
The
fields AsInteger, AsFloat, etc... are not availables.
|
|
|
| Back to top |
|
 |
Jayme Jeffman Guest
|
Posted: Fri Jul 07, 2006 11:38 pm Post subject: Re: Function Dataset->FieldByName() |
|
|
So, there is not anything to be set up. Something should have removed the
access to the database classes. Why don't you try to reinstall C++Builder ?
Try the "Repair Registry" install mode first.
I have the same configuration as you : Windows XP Pro + C++Builder 6.0
Professional and all the database properties and methods are visible !
Good luck.
Jayme.
"Arsène" <valmlouis (AT) hotmail (DOT) com> escreveu na mensagem
news:44aea73a$1 (AT) newsgroups (DOT) borland.com...
| Quote: |
Yes. If I write for example:
Table1-> , all the tips(properties, methods) appear.
Arsène
"Jayme Jeffman" <nospan (AT) jeffman (DOT) eng.br> wrote:
When you put the editor cursor at the end of an arrow pointer, is the code
completion box shown ?
Jayme.
"Arsène" <valmlouis (AT) hotmail (DOT) com> escreveu na mensagem
news:44ae57af$1 (AT) newsgroups (DOT) borland.com...
Thanks for your answer.
But this option was already checked. The tips are shown. But they are
not
shown only for functions like FieldByName() or FindComponents().
Arsène
"Jayme Jeffman" <nospan (AT) jeffman (DOT) eng.br> wrote:
The "Tooltip exprfession evaluation" option on the "Code Inside" tab of
the
"Editor Properties" (Tools->Editor Options...) must be checked otherwise
it
does not show the tips.
HTH
Jayme.
"Arsène" <valmlouis (AT) hotmail (DOT) com> escreveu na mensagem
news:44ac06dd$1 (AT) newsgroups (DOT) borland.com...
I'm using Borland C++ Builder 6.0 profesional.
The function FieldByName doesn't work.
I can't reference its fields.
For example, if I write Table1->FieldByname("x")-> , nothing appears.
The
fields AsInteger, AsFloat, etc... are not availables.
|
|
|
| Back to top |
|
 |
Minas Guest
|
Posted: Sat Jul 08, 2006 8:10 am Post subject: Re: Function Dataset->FieldByName() |
|
|
"Arsène" <valmlouis (AT) hotmail (DOT) com> wrote in message
news:44ac06dd$1 (AT) newsgroups (DOT) borland.com...
| Quote: | For example, if I write Table1->FieldByname("x")-> , nothing appears.
The fields AsInteger, AsFloat, etc... are not availables.
|
that happens ,maybe, because FieldByName is a function and not a class name.
Is returning a TField type so expected to work but not....
Similar situation is like to have an AnsiString;
AnsiString tmp = "tmp";
tmp.Trim().
after second .(dot) doesn't bring the list of properties and methods
because Trim() is a function and not a class name.
To solve it ,in such a situation, after you have typed -> or . press Ctrl +
spacebar
_minas
------
"Only virtue's conquests have certainty" Sofokleous Erephyle |
|
| Back to top |
|
 |
Jayme Jeffman Guest
|
Posted: Sat Jul 08, 2006 9:53 pm Post subject: Re: Function Dataset->FieldByName() |
|
|
At least on my computer " TEquipPotencia->FieldByName("")->as" show all
AsProperties ! So I think there should be anything hidding this properties .
HTH
Jayme.
"Minas" <(min_charATyahooPUTADOTgr)(HellenicFire)> escreveu na mensagem
news:44af5154$1 (AT) newsgroups (DOT) borland.com...
| Quote: | "Arsène" <valmlouis (AT) hotmail (DOT) com> wrote in message
news:44ac06dd$1 (AT) newsgroups (DOT) borland.com...
For example, if I write Table1->FieldByname("x")-> , nothing appears.
The fields AsInteger, AsFloat, etc... are not availables.
that happens ,maybe, because FieldByName is a function and not a class
name.
Is returning a TField type so expected to work but not....
Similar situation is like to have an AnsiString;
AnsiString tmp = "tmp";
tmp.Trim().
after second .(dot) doesn't bring the list of properties and methods
because Trim() is a function and not a class name.
To solve it ,in such a situation, after you have typed -> or . press Ctrl
+ spacebar
_minas
------
"Only virtue's conquests have certainty" Sofokleous Erephyle
|
|
|
| Back to top |
|
 |
|
|
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
|
|