Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 23rd, 2010, 6:19 PM   #1
Mirrored
Newbie
 
Join Date: Mar 2010
Posts: 1
Rep Power: 0 Mirrored is on a distinguished road
Help Making a Flat File

So, I was unsure where this would go, but it is Database related.

Basically, I have to submit a flat file to a database and was wondering if there was some sort of software that would help me make a flat file with multiple records.

The file itself is character length based.

There must be a header record that is 2000 characters in length with 5 fields (4 contain information, the 5th is empty. They are all fixed length and must be filled with spaces)
Then there must be multiple lines for records with quite a few fields (100+ fields, 2000 character length, filled with spaces).
Then there must be a trailer record.

Any idea on an easy way to generate a flat file like this? Or just the records and I can add the header/trailer in notepad++

I think this fixed length thing is driving me crazy!
Mirrored is offline   Reply With Quote
Old Mar 26th, 2010, 3:58 AM   #2
Adak
Hobby Coder
 
Join Date: May 2006
Posts: 347
Rep Power: 5 Adak is on a distinguished road
Re: Help Making a Flat File

Access, or any database software could give you something like this. All databases expect to have multiple records, and for each record to have multiple fields, as well. Nothing startling there.

There may be free flat file type databases programs around. Google for that.

You can code up what you want in a program of course. The way you've asked this makes me think you have very little experience programming, so it might be a struggle for you, in a short time frame, to work out the kinks of the program.

Quick and easy answer is to use a database program. If you want to program it, and have the time/experience to get started, then lay it on us, and we'll assist.
Adak is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem during making of setup file of visual C# lamiajoyee C# 1 Mar 16th, 2010 1:58 PM
Making a header file Infty C 3 May 18th, 2009 4:10 PM
making a header file alphonso C++ 14 Apr 5th, 2006 6:32 AM
Making an exe file elford C 4 Jan 1st, 2006 4:38 PM
Dynamic and flat file databases k4pil Other Web Development Languages 3 Nov 13th, 2005 7:21 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:31 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC