🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Copy database?

#1806
From: Robert Doyle
Date: Thu, 11 Feb 1999 00:00
58 lines
2001 bytes
This is a multi-part message in MIME format.
--------------EDB63E076203DC1896CAD447
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

You can't use a BatchMove to do what you need. You will have to use two
TTable objects and and loop through your 1.dbf and inserts the proper
values in the second one.

Robert

???? wrote:

> I have old database(1.dbf) .
> 1.dbf
> ============================
> Field   Type        Length
> Card     C           5
> Bp1      C           10
> Bp2      C           10
> Bp3      C           10
> ...
>
> Now I want to Create new Table 2.dbf.
>
> 2.dbf
> =============================
> Card     C            5
> Bp       C            30
> ...
>
> The field of "BP" is Bp1 & Bp2 & Bp3.
> If I  copy  1.dbf ===> 2.dbf with BatchMove component,
> How can I do ?
>
> Thanks.

--------------EDB63E076203DC1896CAD447
Content-Type: text/x-vcard; charset=us-ascii;
 name="rdoyle.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Robert Doyle
Content-Disposition: attachment;
 filename="rdoyle.vcf"

begin:vcard 
n:Doyle;Robert
x-mozilla-html:TRUE
org:Inprise Canada<IMG SRC="ftp://ftp.inprise.com/pub/about/logos/inpr_sm.jpg">
adr:;;200 Konrad Crescent;Markham;Ontario;L3R 8T9;Canada
version:2.1
email;internet:rdoyle@inprise.com
title:Technical Consultant
x-mozilla-cpt:;0
fn:Robert Doyle
end:vcard

--------------EDB63E076203DC1896CAD447--
Technical Details
Message-ID: <36C2C58F.B732A377@inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <78gtac$p3h12@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,24ed7eb8ea3ce05f
X-Google-Attributes: gidfcd2b,public
From: Robert Doyle <rdoyle@inprise.com>
Subject: Re: Copy database?
Date: 1999/02/11
Message-ID: <36C2C58F.B732A377@inprise.com>
X-Deja-AN: 443193384
References: <78gtac$p3h12@forums.borland.com>
X-Accept-Language: en
Content-Type: multipart/mixed; boundary="------------EDB63E076203DC1896CAD447"
Organization: Inprise Canada
Mime-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.multi-tier