File export problem

  • Thread starter Thread starter Carole
  • Start date Start date
C

Carole

I have a very bizarre problem. I am trying to export a
table to a text file using an export specification. The
table exports file. If I open the text file in Wordpad, I
can see the data and all looks fine. If I open the file
in Notepad, it takes a minute to load and then all I see
are strange characters. I am sending this file to a
vendor to load into their system. They say they can't
read the file into their system and to test if the file is
read-able, we should open it in Notepad. Has anyone seen
this before or does anyone have any ideas?

TIA!
 
Hi Carole,

If the first few characters viewed in Notepad are something like this
{\rtf1\ansi\ansicpg1252{\colortb
you're exporting the table as "rich text format". Export it as a "text
file" instead.

Otherwise, check the code page setting in the export specification.

If it's neither of these things, post back with some more information:

-version and service packs of Windows and Access
-the fonts you're using
-the languages involved (if other than English)
-if it's not too confidential, the first few records - or fields - of
the textfile copied and pasted first from WordPad and then from Notepad
(so we can see what is actually happening).




I have a very bizarre problem. I am trying to export a
table to a text file using an export specification. The
table exports file. If I open the text file in Wordpad, I
can see the data and all looks fine. If I open the file
in Notepad, it takes a minute to load and then all I see
are strange characters. I am sending this file to a
vendor to load into their system. They say they can't
read the file into their system and to test if the file is
read-able, we should open it in Notepad. Has anyone seen
this before or does anyone have any ideas?

TIA!

John Nurick [Microsoft Access MVP]

Please respond in the newgroup and not by email.
 
Thanks for responding, John. I am not exporting as rich
text.

The export spec options are: fixed width, file origin
Windows (ANSI), dates, times, and numbers are all at the
defaults. The file itself has all text fields and one
memo field. I thought the memo field might be the problem
because if I remove it, the file exports fine, but I need
the memo field in the file.

I'm currently working in Access 97. I upgraded the
database to 2002 and it did the same thing. For Windows,
I am on Windows 2000, version 5, service pack 2.

The default font in Wordpad, where it works, is Courier
New. The default font in Notepad, where it doesn't work,
is also Courier New.

The only language involved is English.

Here's the first few lines from Wordpad:

H















A26-50364 A & A OFFICE MACHINES INC 2385
HAMMOND DR
1
SCHAUMBURG IL60173
2385 HAMMOND DR #2
0820200307302003000000000004.93000000000000.0004
0000000260050364000000493
10603200307022003000000000004.93000000000000.00000000000000
..000000012900000129N
00000000









A26-50365 A & A OFFICE MACHINES INC 2385
HAMMOND DR
1
SCHAUMBURG IL60173
2385 HAMMOND DR #1
0820200307302003000000000013.39000000000000.0004
0000000260050365000001339
90603200307022003000000000011.99000000000001.40000000000000
..000000018800000186N
00000002









A186-54194 ADVANI KALU 125
BRIXHAM
PL
SCHAUMBURG
IL60194 125 BRIXHAM PL
0820200307302003000000000097.99000000000000.0004
0000001860054194000009799
80403200307032003000000000082.59000000000015.40000000000000
..000000077100000749N
00000022










Here's the first few lines from Notepad:

⁈??????????????????????????????????????????????????????????
???????????????????????????????????????????????????????????
???????????????????????????????????????????????????????????
???????????????????????????????????????????????????????????
???????????????????????????????????????????????????????????
???????????????????????????????????????????????????????????
???????????????????????????????????????????????????????????
???????????????????????????????????????????????ഠ䄊㘲㔭㌰㐶
????䄠☠䄠传䙆䍉⁅䅍䡃义卅䤠䍎??㈠㠳‵䠠䵁位䑎䐠
⁒??????ㄠ??????????????????????????????????匠䡃啁䉍剕
⁇?????????䤠㙌㄰㌷?????㌲㔸?䅈䵍乏⁄剄⌠′?????㠰〲〲㌰㜰〳〲㌰〰〰〰
〰〰㐰㤮〳〰〰〰〰〰⸰〰㐰〠〰〰〰㘲〰〵㘳〴〰〰㐰㌹ㄠ㘰㌰〲㌰㜰㈰〲
㌰〰〰〰〰〰㐰㤮〳〰〰〰〰〰⸰〰〰〰〰〰〰〰〮〰〰〰㈱〹〰〰㈱丹??〰
〰〰〰
???????????????????????????????????????????????????????????
???????????????????????????????????????????????????????????
???????????????????????????????????????????????????????????
???????????????????????????????????????????????????????????
?????????????????????????????਍㉁ⴶ〵㘳‵????⁁.⁁䙏䥆䕃䴠䍁䥈䕎⁓
义⁃??㌲㔸?䅈䵍乏⁄剄???????‱??????????????????????????????????
䍓䅈䵕啂䝒??????????䱉〶㜱″????㈠㠳‵䠠䵁位䑎䐠⁒ㄣ?????〠㈸㈰〰〳㌷
㈰〰〳〰〰〰〰㄰⸳㤳〰〰〰〰〰〰〮〰‴〰〰〰㈰〶㔰㌰㔶〰〰㄰㌳<〹〶㈳〰
〳〷㈲〰〳〰〰〰〰㄰⸱㤹〰〰〰〰〰㄰㐮〰〰〰〰〰〰⸰〰〰〰㄰㠸〰〰㄰㘸⁎?
〠〰〰〰′
???????????????????????????????????????????????????????????
???????????????????????????????????????????????????????????
???????????????????????????????????????????????????????????
???????????????????????????????????????????????????????????
????????????????????????????ഠ䄊㠱ⴶ㐵㤱‴???䄠噄乁⁉䅋啌
?????????ㄠ㔲?剂塉䅈⁍䱐
??????????????????????????????????????????匠䡃啁䉍剕
⁇?????????䤠㙌㄰㐹?????㈱‵䈠䥒䡘䵁倠⁌???????㠰〲〲㌰㜰〳〲㌰〰〰〰
〰〰㜹㤮〹〰〰〰〰〰⸰〰㐰〠〰〰㄰㘸〰㐵㤱〴〰〰㜹㤹㠠㐰㌰〲㌰㜰㌰〲㌰
〰〰〰〰〰㈸㔮〹〰〰〰〰㄰⸵〴〰〰〰〰〰〰〮〰〰〰㜷〱〰〰㐷丹??〰〰
〰㈲
???????????????????????????????????????????????????????????
???????????????????????????????????????????????????????????
???????????????????????????????????????????????????????????
???????????????????????????????????????????????????????????
?????????????????????????????਍㉁㠵㔭㤵〲????䭁䅂䥒䄠䥌䄠
?????????㘱㜱?則䕅⁎䥒䕖⁒剄
????????????????????????????????????????䍓䅈䵕啂䝒??????????
䱉〶㤱‴????ㄠㄶ‷䜠䕒久删噉剅䐠⁒????〠㈸㈰〰〳㌷㈰〰〳〰〰〰〰㜰⸲ㄶ
〰〰〰〰〰〰〮〰‴〰〰〰㔲〸㔰㤵〲〰〰㜰㘲‱〲〴㈷〰〳〷㈷〰〳〰〰〰〰
㘰⸱ㄴ〰〰〰〰〰ㄱ㈮〰〰〰〰〰〰⸰〰〰〰㜱㄰〰〰㘱㔸⁎?〠〰〰㄰‶
???????????????????????????????????????????????????????????
???????????????????????????????????????????????????????????
???????????????????????????????????????????????????????????
???????????????????????????????????????????????????????????
????????????????????????????ഠ䄊㘲ⴸ㘵㌵‵???䄠呋䅈⁒䅍体䑏
????????㤠〰?剂久佄⁎剄
??????????????????????????????????????????匠䡃啁䉍剕
⁇?????????䤠㙌㄰㐹?????〹?䈠䕒䑎乏䐠⁒???????㠰〲〲㌰㜰〳〲㌰〰〰〰
〰㄰㠷㌮〶〰〰〰〰〰⸰〰㐰〠〰〰㈰㠶〰㘵㌵〵〰㄰㠷㘳㤠㐰㠰〲㌰㜰㤰〲㌰
〰〰〰〰㄰㤴㘮〶〰〰〰〰㈰⸸〷〰〰〰〰〰〰〮〰〰〰㐵〰〰〰㤴丹??〰〰
〰ㄴ
???????????????????????????????????????????????????????????
???????????????????????????????????????????????????????????
???????????????????????????????????????????????????????????
???????????????????????????????????????????????????????????
?????????????????????????????਍㍁㘳㔭㤳㔶????䱁塅乁䕄⁒䅃佒
⁌???????〱<⁎䅗乌呕䰠
⁎??????????????????????????????????????????䍓䅈䵕啂䝒
??????????䱉〶㤱‴????ㄠ㤰丠圠䱁啎⁔乌???????〠㈸㈰〰〳㌷㈰〰〳〰〰
〰〰㔰⸹㈹〰〰〰〰〰〰〮〰‴〰〰〰㌳〶㔰㤳㔶〰〰㔰㤹′〳〴㈲〰〳〷㈲〰
〳〰〰〰〰㔰⸰㈸〰〰〰〰〰㤰ㄮ〰〰〰〰〰〰⸰〰〰〰㤰㐸〰〰㤰ㄷ⁎?〠〰
〰㄰″
???????????????????????????????????????????????????????????
???????????????????????????????????????????????????????????
???????????????????????????????????????????????????????????
???????????????????????????????????????????????????????????
????????????????????????????ഠ䄊㐳ⴰ㤵㤴‶???䄠䕌䅘䑎剅䔠䥌低
⁒⁁?????㈠‴䄠䡓啂乒䌠⁔???????删ⵚ‱
????????????????????????????????匠䡃啁䉍剕⁇?????????䤠㙌㄰㌹
?????㐲?十䉈剕⁎呃娠ㄭ??????㠰〲〲㌰㜰〳〲㌰〰〰〰〰〰ㄲ㠮〵〰〰〰
〰〰⸰〰㐰〠〰〰㌰〴〰㤵㤴〶〰〰ㄲ㔸ㄠ㐰ㄱ〲㌰㜰〱〲㌰〰〰〰〰〰㤱〮
〵〰〰〰〰〰⸲〸〰〰〰〰〰〰〮〰〰〰㤱〶〰〰㤱串??〰〰〰㐰
???????????????????????????????????????????????????????????
???????????????????????????????????????????????????????????
???????????????????????????????????????????????????????????
???????????????????????????????????????????????????????????
?????????????????????????????਍㍁〷㔭㠶㐵????䱁䅌䑒丠乁奃䨠
????????㈶″䬠久䅄䱌䌠
⁔??????????????????????????????????????????䍓䅈䵕啂䝒
??????????䱉〶㤱‴????㘠㌲?䕋䑎䱁⁌呃???????〠㈸㈰〰〳㌷㈰〰〳〰〰
〰〰㌰⸴㐵〰〰〰〰〰〰〮〰‴〰〰〰㜳〰㔰㠶㐵〰〰㌰㔴‴〲〴㈹〰〳〷㈸〰
〳〰〰〰〰㈰⸹㐶〰〰〰〰〰㐰㤮〰〰〰〰〰〰⸰〰〰〰㐰㘹〰〰㐰㤸⁎?〠〰
〰〰‷
???????????????????????????????????????????????????????????
???????????????????????????????????????????????????????????
???????????????????????????????????????????????????????????
???????????????????????????????

Cool, huh? I am baffled. Any help you can give would be
greatly appreciated!!!

Carole
-----Original Message-----
Hi Carole,

If the first few characters viewed in Notepad are something like this
{\rtf1\ansi\ansicpg1252{\colortb
you're exporting the table as "rich text format". Export it as a "text
file" instead.

Otherwise, check the code page setting in the export specification.

If it's neither of these things, post back with some more information:

-version and service packs of Windows and Access
-the fonts you're using
-the languages involved (if other than English)
-if it's not too confidential, the first few records - or fields - of
the textfile copied and pasted first from WordPad and then from Notepad
(so we can see what is actually happening).




I have a very bizarre problem. I am trying to export a
table to a text file using an export specification. The
table exports file. If I open the text file in Wordpad, I
can see the data and all looks fine. If I open the file
in Notepad, it takes a minute to load and then all I see
are strange characters. I am sending this file to a
vendor to load into their system. They say they can't
read the file into their system and to test if the file is
read-able, we should open it in Notepad. Has anyone seen
this before or does anyone have any ideas?

TIA!

John Nurick [Microsoft Access MVP]

Please respond in the newgroup and not by email.
.
 
Back
Top