🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #1203

Re: i cant use Field[i] to access the data why?

#1203
From: Jeff Overcash (TeamB)
Date: Wed, 29 Mar 2000 00:00
25 lines
1442 bytes
Try Fields->Fields[0].  

sss wrote:
> 
> hi,people:
> i am new user of cpp builder and i wonder why i cant use as Field[0]
> Field[1] to access
> a table data?
> the code just as :
> AnsiString S=DMod1->Table1->Fields[0]->AsString;
> the compiler says
> :[C++ Error] Main.cpp(31): E2288 Pointer to structure required on left side
> of -> or ->*.
> how should i use Fields[i].
> thanks.
> ps:who could tell me if there is a IRC server for c++ builder?

-- 
Jeff Overcash (TeamB) 
      (Please do not email me directly unless  asked. Thank You) 
Maybe it was infatuation or the thrill of the chase.
Maybe you were always beyond my reach and my heart was playing safe.
But was that love in your eye I saw or the reflection of mine?
Give me time, won't you give me that time!
Welcome back to the circus.            (Fish)
Technical Details
Message-ID: <38E21AFF.4296EF55@onramp.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <38e1ac13@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,f4fbf67efeb05713
X-Google-Attributes: gidfcd2b,public
From: "Jeff Overcash (TeamB)" <overcash@onramp.net>
Subject: Re: i cant use Field[i] to access the data why?
Date: 2000/03/29
Message-ID: <38E21AFF.4296EF55@onramp.net>
X-Deja-AN: 603889415
Content-Transfer-Encoding: 7bit
References: <38e1ac13@dnews>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Trace: 29 Mar 2000 06:54:04 -0800, 157.238.170.6
Organization: TeamB
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.multi-tier