使用点分隔符导出文本文件访问中的数据 [英] Exporting data in access to text file with a dot separator

查看:224
本文介绍了使用点分隔符导出文本文件访问中的数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Access 2007,我希望能够导出我的数据到一个文本文件,同时具有导出规范,允许我使用一个'。',而不是一个逗号或其他默认字符给我。这是可能吗?

I am using Access 2007 and I wish to be able to export my data to a text file while having the export specifications to allow me to use a '.' instead of a comma or the other default characters given to me. Is this possible?

推荐答案

这里有一种方法:


  1. 在导航窗格上选择要导出的表/查询

  2. 右键单击表格/查询,然后选择导出>文本文件或单击功能区外部数据选项卡的导出部分上的文本文件按钮。

  3. 选择要保存文本文件的位置,然后单击确定按钮

  4. 在向导对话框的下一个屏幕上选择分隔,然后点击下一步按钮


  5. 如果您希望在输出中引用文本字段,请从下拉菜单中选择一个文本限定符

  6. >如果您喜欢

  7. 点击高级按钮获取更多选项,请选中第一行包含字段名称框。

  8. (这是必要的,因为您的输出字段分隔符不能与您的十进制符号匹配,否则导出操作将失败。)

  9. 单击确定按钮

  10. 点击应处理它的完成按钮

  1. select the table/query you want to export on the navigation pane
  2. right-click your table/query and select "Export" > "Text File" (or click the "Text File" button on the "Export" section of the "External Data" tab of the ribbon.
  3. choose a location to save the text file and click the "OK" button
  4. on the next screen of the wizard dialog box, select "Delimited" and click the "Next" button
  5. choose "Other" as your delimiter and type a dot into the box next to it
  6. choose a text qualifier from the dropdown if you want text fields to be quoted in your output
  7. check the "Include Field Names on First Row" box if you like
  8. click the "Advanced" button for more options
  9. change the "Decimal Symbol" option to something other than a dot. (this is necessary because your output field delimiter cannot match your decimal symbol or else the export operation will fail.)
  10. click the "OK" button
  11. click the "Finish" button

我假设你的任何文本字段中没有十进制数字或点,否则你会有解析输出的问题...

that should handle it. i'm assuming that there are no decimal numbers or dots in any of your text fields, or else you'll have problems parsing the output...

这篇关于使用点分隔符导出文本文件访问中的数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆