This information was provided by Claris Corporation on 16 March 1998, and incorporated into Apple Computer's Tech Info Library.
Most fixed length formats allow from 1 to 30 characters per field. Seldom do they allow for more characters than that. Since a variable length format does not care exactly how many characters there are in a field, the amount of text you can put in one is usually much higher. ClarisWorks , for example, allows you 510 characters in a text field .
ClarisWorks will only export variable length fields, but you can create a calculation that will translate your fields to a fixed length format. Then you export only the fixed length field. When that is imported into the database that follows a fixed length format, it will separate the information out into separate fields.
To Export Fixed Length Fields From Clarisworks:
ClarisWorks does not have a mechanism to export just one field, so you have to take a couple of extra steps:
1) Make a copy of the database. CAUTION: DO NOT FOLLOW THESE INSTRUCTIONS ON YOUR ONLY COPY OR YOU WILL LOSE THE INFORMATION IN IT.
2) Create the calculation field:
Assuming that you need the First Name and Last Name fields exported with 10 characters each, here is the calculation that you would use. It is only different from the FileMaker Pro calculation in that each field name has to have apostrophes around it.
ExportField (Calculation, text result) = Left('First Name' & "^^^^^^^^^^",10) & Left('Last Name' & "^^^^^^^^^^",10)
You will need the quotation marks. And, again, the caret (^) stands for a space.
For each additional field, add this to the end of the calculation:
& Left(Name of your field & "^^^^^^^^^", Number of characters there are supposed to be in the field)
The number of carets (^) should equal the number of spaces needed in the field.
3) Change the type of the field from Calculation to Text.
4) Delete all of the rest of the fields from Define fields. If you have not made a copy of your database, or if you are not completely comfortable doing this, then do not attempt this. This will delete the information in your database except where it is listed in the fixed length format, and it is difficult to get it back into separate fields.
5) Go to the File menu and choose Save As and save the file as ASCII text.