Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Export table to text without extra spaces 1

Status
Not open for further replies.

linousa

IS-IT--Management
Mar 8, 2013
79
US
Is it possible to export DBF without extra spaces that fill up to field length? Trying to get CRLF characters right after my data:

2_gkfnlk.jpg


and not(used- copy to "name" sdf):
1_hlaw8c.jpg
 
I'd use TAB delimited or even simpler CSV to also eliminate all the intermediate spaces.

Ideally, you'd rather have tab positions like the origin of the word "tab" for word pressing was, not as equally spaced out tab lengths for all tabs, but tab positions for 2nd, 3rd, etc column, it's obviously simplest with spaces, as that doesn't require the correct tab length, but you could also have a proprietary own format with tab positions in a header line and then replace tabs with the necessary amount of spaces on the fly in time for display or printing/reporting. That means it's of no use for a normal text editor or straight forward monospace font generic text printing, but it'd not be impossible to create such a text file viewer based on a form with editbox and conversion of the file content to editbox value.

If your goal is small file sizes compression will help, too, of course.

Bye, Olaf.

Olaf Doschke Software Engineering
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top