Export Fixed With

G

Guest

In a macro I am doing a TransferText Action. The Transfer Type is fixed
width, and I am using a Specification Name argument as required.

I am getting the following error: The data being exported does not match
the format described in the Schema.ini file.

FYI, The query transfers just fine as delimited.

In case this matters, I couldn't create the export specification using the
export wizard (there was no advanced button) so I used the import wizard to
create the specification. The export file is a single text 50 character
field.

Thanks for your help!
 
J

John Nurick

Is there a file called Schema.ini in the folder to which you are
exporting the data?
 
G

Guest

Thanks for responding, John. And no, there is not a Schema.ini file in the
folder to which I am exporting.
 
J

John Nurick

In that case I'd suspect that the query and the export specification do
not match properly. I'd try creating and saving a new export
specification.

Another approach, since there's only the one field involved, would be to
modify the existing query to return a fixed-width calculated field, e.g.

FixedField: Left([TheField] & Space(50), 50)

and export this as tab-delimited. Because there's just the one field the
result will be identical to exporting fixed-width.
 
G

Guest

Thanks, John!

John Nurick said:
In that case I'd suspect that the query and the export specification do
not match properly. I'd try creating and saving a new export
specification.

Another approach, since there's only the one field involved, would be to
modify the existing query to return a fixed-width calculated field, e.g.

FixedField: Left([TheField] & Space(50), 50)

and export this as tab-delimited. Because there's just the one field the
result will be identical to exporting fixed-width.

Thanks for responding, John. And no, there is not a Schema.ini file in the
folder to which I am exporting.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top