Your browser does not seem to support CSS. If images appear below, please disregard them.
It appears that you're running an Ad-Blocker. This site is monetized by Advertising and by ">User Donations; we ask that if you find this site helpful that you whitelist us in your Ad-Blocker, or make a ">Donation to help aid in operating costs.
Previous Thread
Next Thread
Print Thread
Rate This Thread
#17448 - 12/02/03 02:22 AM merge dbf file?  
Joined: Dec 2003
Posts: 1
kai Offline
Junior Member
kai  Offline
Junior Member

Joined: Dec 2003
Posts: 1
la
I am a new programer for C++. I want to merge two or more dbf file together. I don't know how to read the dbf file and out put a dbf format file.

Ex: there are two or more dbf files. all of them have same structure "LABID","LOCATION" and "CALL" and all of the fields are character.
The file name is SNP1.dbf and RS2300.dbf.
I want:
1. link the two file togethear by LABID,
2. drop location
3. rename the "CALL" to "SNP1" at SNP1.dbf
4. rename the "CALL" to "RS2300" at RS2300.dbf
5. output a dbf format data set with: LABID, SNP1 and RS2300.

I hope the program can handle more than two dbf files and easy to be used at dos command line, like: "merge *.dbf output.dbf"
Is there a way to do that?

Thanks a lot

Kai

Sponsored Links
#17449 - 12/03/03 11:46 AM Re: merge dbf file?  
Joined: Aug 2003
Posts: 240
paradox Offline
Member
paradox  Offline
Member

Joined: Aug 2003
Posts: 240
New Zealand
then learn how the .dbf file is encoded use filestreams to read and ouptut them through ur decipher and recipher functions and there ya go


The wise make mistakes, the fools repeat them
----------------------------------------
When you have eliminated the impossible, that which remains, however improbable, must be the truth

Member Spotlight
Gremelin
Gremelin
Portland, OR; USA
Posts: 7,198
Joined: February 2002
Show All Member Profiles 
Forum Statistics
Forums45
Topics33,918
Posts69,060
Members2,165
Average Daily Posts3
Members2,165
Most Online1,567
Apr 25th, 2010
Latest Postings
There is not any party like an arm party
by bagful on 04/27/17 06:26 AM
The innovative concept keep
by bagful on 04/27/17 06:25 AM
The Nike Blazer Studio Mid Decon
by bagful on 04/27/17 06:24 AM
a fresh white enhance midsole device
by bagful on 04/27/17 06:23 AM
shopping for jewelry with something above
by mikejoey on 04/12/17 08:01 AM
PANDORA North The usa
by mikejoey on 04/12/17 07:38 AM
Pandora’s birthstone products will always
by mikejoey on 04/12/17 07:14 AM
the newest Pandora necklaces crafting facility
by mikejoey on 04/12/17 06:53 AM
an Air Jordan 4 by Off White is in
by mikejoey on 04/12/17 06:35 AM
belonging to the adidas NMD XR1
by mikejoey on 04/12/17 05:50 AM
Top Posters(All Time)
UGN Security 41,138
Gremelin 7,198
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Liked Users (All Time)
§intå× Likes: 3
Black Beard Likes: 1
Cold Sunn Likes: 1
Crime Likes: 1
Cyrez Likes: 1
fleshwound Likes: 1
Ghost Likes: 2
Gremelin Likes: 12
Ice Likes: 1
ninjaneo Likes: 1
Top Liked Users (30 Days)
No Data Found
Powered by UBB.threads™ PHP Forum Software 7.6.0
(Snapshot build 20170206)