UGN Security Forums
My ProfileMember DirectoryLogin
Search our ForumsView our FAQView our Site Rules
View our CalendarView our Active TopicsGo to our Main Page

UGN Security Store
 

Network Sites UGN Security, The GoNix Initiative, Elite Web Gamers, Back of the Web, EveryDay Helper, VNC Web Design & Development
July
Su M Tu W Th F Sa
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
Sponsored Links
Latest Postings
Latest Reviews
Topic Options
Rate This Topic
#17448 - 12/02/03 02:22 AM merge dbf file?
kai Offline
Junior Member

Registered: 12/01/03
Posts: 1
Loc: 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

Top
Sponsored Links
      
#17449 - 12/03/03 11:46 AM Re: merge dbf file?
paradox Offline
Member

Registered: 08/28/03
Posts: 240
Loc: 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

Top

Featured Member
Registered: 03/05/02
Posts: 9
Forum Stats
2145 Members
46 Forums
33520 Topics
68687 Posts

Max Online: 1567 @ 04/25/10 10:20 AM
Top Posters
UGN Security 26683
Gremelin 7192
§intå× 3255
SilentRage 1273
Ice 1146
pergesu 1136
Infinite 1041
jonconley 955
Girlie 908
unreal 860
Newest Members
Jimmie Menon, fghijk435948, Devo60, ali, lavos
2147 Registered Users
Who's Online
0 registered (), 669 Guests and 300 Spiders online.
Key: Admin, Global Mod, Mod
Latest News


Donate
  Get Firefox!
Get FireFox!