I am understanding that you're exporting in a fixed-width format. Is this
correct? Is the field width in the specification set to 15?
Trailing spaces usually are trimmed by Jet database engine when exporting to
a delimited file format. The only way I know to keep them is to use a fixed
width format, which isn't always easy.
You could try surrounding the field's contents with " characters at
beginning and end (delimit the field's contents) as part of the query that
you export.
>I am using an export spec. The export wizard insists that the field is 5
> chars in length and that's how it shows in the viewer. But when I add
[quoted text clipped - 28 lines]
>> > can think of and I can't get the full field to export. Has anyong else
>> > encountered this problem?
Yes, I'm exporting to a fixed-width text file. OK, I tried putting quotes
around the string. In the query it looks like 'MAJOR ' . I select
export and in the sample export format window, with delimited checked, it
shows: "'MAJOR '" I click 'Fixed Width', and then the viewer
shows: 'MAJO for the field. So it really seems to like 5 characters
regardless of the length of the data--it's not just the spaces it's
truncating. Do you think this qualifies as a bug. I've tried looking in KB
and I can't seem to find any other report of this problem.
> I am understanding that you're exporting in a fixed-width format. Is this
> correct? Is the field width in the specification set to 15?
[quoted text clipped - 39 lines]
> >> > can think of and I can't get the full field to export. Has anyong else
> >> > encountered this problem?
Ken Snell [MVP] - 08 Aug 2005 14:44 GMT
Can you zip up an example of your database and email to me? I'd like to take
a look at this behavior firsthand. My email address is obtained from my
"reply to" email address by removing the words this is not real from that
munged address.
Please include information about the name of the query/etc. so that I can
reproduce your actions.

Signature
Ken Snell
<MS ACCESS MVP>
> Yes, I'm exporting to a fixed-width text file. OK, I tried putting
> quotes
[quoted text clipped - 60 lines]
>> >> > else
>> >> > encountered this problem?
Wendy Penfold - 08 Aug 2005 16:20 GMT
Hi Ken, when I click reply I get a web form and it doesn't show any email
address. My address is Wpenfold@ithaca.edu . If you'd like to email me
directly. I'll try to zip something up to send to you that recreates the
problem. The query is based on tables linked to an Oracle DB so I'll have to
make an access table. W
> Can you zip up an example of your database and email to me? I'd like to take
> a look at this behavior firsthand. My email address is obtained from my
[quoted text clipped - 67 lines]
> >> >> > else
> >> >> > encountered this problem?
Ken Snell [MVP] - 08 Aug 2005 17:51 GMT
Email sent to you.
I don't know if linking to Oracle is the issue, but it's very possible that
it is. It may become necessary to import the data from Oracle into a
temporary table in your ACCESS front end, export the data from the temporary
table, and then delete the data from the temporary table.

Signature
Ken Snell
<MS ACCESS MVP>
> Hi Ken, when I click reply I get a web form and it doesn't show any email
> address. My address is Wpenfold@ithaca.edu . If you'd like to email me
[quoted text clipped - 90 lines]
>> >> >> > else
>> >> >> > encountered this problem?