🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Creating a lookup-field at runtime?

#1980
From: Palmetzhofer Dietmar
Date: Fri, 09 Jan 2004 19:38
11 lines
1880 bytes
I have to make a copy of an existing TADOTable-Object, that has several
persistant field definitions, including 2 lookup-fields. I am using
Table2->Clone( Table1) in order to get a copy of the source table. But it
seems, that the field definitions are not cloned. I have also tried to add
the field definition at runtime, using FieldDefs, but it seems that the
access to this property is not allowed. Does anyone know a solution for this
problem (either how to clone the TADOTable object with the field
definitions, or how to adda lookupfield at runtime to the TADOTable-object).
I am using BCB6.0 Professional and an MS-Access 2000 database.
Thanks,
Didi
Technical Details
Message-ID: <3fff033e@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!priapus.visi.com!orange.octanews.net!news.octanews.net!news-out.visi.com!petbe.visi.com!skynet.be!news-lond.gip.net!news.gsl.net!gip.net!colt.net!peernews3.colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,d7877935b4a97ab6,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2004-01-09 11:40:40 PST
Reply-To: "Palmetzhofer Dietmar" <xxremovethisxx_dietmar.palmetzhofer@boku.ac.at>
From: "Palmetzhofer Dietmar" <xxremovethisxx_dietmar.palmetzhofer@boku.ac.at>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Creating a lookup-field at runtime?
Date: Fri, 9 Jan 2004 20:38:44 +0100
Lines: 13
Organization: Univ. f. Bodenkultur
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 62.46.232.80
Message-ID: <3fff033e@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1073677118 62.46.232.80 (9 Jan 2004 11:38:38 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!priapus.visi.com!orange.octanews.net!news.octanews.net!news-out.visi.com!petbe.visi.com!skynet.be!news-lond.gip.net!news.gsl.net!gip.net!colt.net!peernews3.colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail