πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.multi-tier
2 messages
2 total messages Started by θ–„ε†°δΉ‹ζ—… Mon, 25 Jan 1999 00:00
Copy database?
#1844
Author: θ–„ε†°δΉ‹ζ—…
Date: Mon, 25 Jan 1999 00:00
24 lines
926 bytes
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.
Re: Copy database?
#1806
Author: 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--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads