🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#1200
From: sss
Date: Wed, 29 Mar 2000 00:00
12 lines
890 bytes
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?
Technical Details
Message-ID: <38e1ac13@dnews>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,f4fbf67efeb05713,start
X-Google-Attributes: gidfcd2b,public
From: "sss" <s3s@21cn.com>
Subject: i cant use Field[i] to access the data why?
Date: 2000/03/29
Message-ID: <38e1ac13@dnews>
X-Deja-AN: 603754940
X-Trace: 28 Mar 2000 23:09:07 -0800, 202.109.44.52
X-MSMail-Priority: Normal
X-Priority: 3
Newsgroups: borland.public.cppbuilder.database.multi-tier
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300