🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #1895

Re: How to use AppendRecord with 30 values?

#1895
From: Dwayne
Date: Mon, 12 Jan 2004 20:08
21 lines
1722 bytes
 I want to use table->AppendRecord (OPENARRAY(TVarRec(arg1, arg2, arg3, ...,
arg30).
OPENARRAY only supports up to 18 arguments. Is there a way to solve this
problem? I hope so!!!

           I don't  know what you are trying to accomplish, but If I were
you, I would put your data in a structure, and save the structure.

   structure File
         {
           char Name[30]
           char Address[30]
           char zipcode[30]
           ..........
         }f;

        Save your "f" as a structure on the append.   Usually you do not
need to manually Append with the Array.  But if you choose to do so.

                    Dwayne (Guessing on what you are trying to do)
Technical Details
Message-ID: <400432e0$3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!c03.atl99!news.webusenet.com!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3ffe8bc8$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,a179058b6d71fe28
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2004-01-13 10:07:48 PST
Reply-To: "Dwayne" <myfrienddr@yahoo.com>
From: "Dwayne" <myfrienddr@yahoo.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3ffe8bc8$1@newsgroups.borland.com>
Subject: Re: How to use AppendRecord with 30 values?
Date: Mon, 12 Jan 2004 12:08:50 -0800
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 68.103.106.146
Message-ID: <400432e0$3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1074016992 68.103.106.146 (13 Jan 2004 10:03:12 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!c03.atl99!news.webusenet.com!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail