การ Export ข้อมูลเป็น Text
กระทู้เก่าบอร์ด อ.สุภาพ ไชยา

 323   2
URL.หัวข้อ / URL
การ Export ข้อมูลเป็น Text

ผมมีปัญหาการ Export ข้อมูล Access ไปเป็น Text ผมนำโปรแกรมของคนอื่นนำมาแก้ไข
แต่ไม่สามารถทำได้มี Error The test file 'BIC List Specification' does not exist.
You can't import,export or link using the specification.

ของคนอื่น
'DoCmd.OutputTo acOutputQuery, "HighRisk", acFormatTXT, output_path
DoCmd.TransferText acExportFixed, "High Risk Specification", "HighRisk", output_path

เขียนใหม่ที่เกิด Error
'DoCmd.OutputTo acOutputQuery, "BIC"', acFormatTXT, output_path
DoCmd.TransferText acExportFixed, "BIC List Specification", "BIC", output_path

ดูจาก Help
DoCmd.TransferText [transfertype][, specificationname], tablename, filename[, hasfieldnames][, HTMLtablename]

ตัวอย่าง จาก Help
DoCmd.TransferText acExportDelim, "Standard Output", "External Report", "C:\Txtfiles\April.doc"

สาเหตุเนื่องจากผมไม่สามารถแก้ specificationname ที่เขากำหนดได้ ใช่หรือเปล่าครับ
ถ้าใช่แก้ได้อย่างไร ถ้าไม่ใช่รบกวน อ.สุภาพ หรือผู้รู้ แจ้งว่าเพราะอะไร และแก้ไขอย่างไร

2 Reply in this Topic. Dispaly 1 pages and you are on page number 1

1 @R03424
ให้สร้างขึ้นมาใหม่แทนตัวเก่าได้ครับ

ลองดูกระทู้ http://www.thai-access.com/suphap.php?topic_id=877
2 @R03453
ขอบคุณ มากครับสำเร็จแล้ว
@ ประกาศใช้งานเว็บบอร์ดใหม่ => บอร์ดเรียนรู้ Access สำหรับคนไทย
แล้วจะใส่ลิ้งอ้างอิงมาที่โพสต์เก่านี้หรือไม่ก็ตามสะดวกครับ
Time: 0.0473s