访问数据到CSV文件 [英] Access Data to CSV file

查看:60
本文介绍了访问数据到CSV文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将访问表中的数据提取为csv文件格式。

i希望它通过查询保存。


i有sql查询的例子以xls格式保存。但我希望查询结果以csv格式保存。

例如。 xls格式

- "在''sample.xls''''Excel 5.0中选择字段到TempData;''从From Table"

解决方案

@xxoulmate


我可以向您展示我创建的自定义例程,它会将特定的查询字段值写入CSV(逗号分隔值)文件,但我''等等,看看是否有人有更好的主意。我可能错了,但我不认为有一种简单的方法可以通过Access接口实现这一点,但是有编程方式。


如何回合。而不是保存它在csv文件中通过查询将其保存在文本文件中


此方法将帮助您...

展开 | 选择 | Wrap | 行号

how can i extract data from access table into csv file format.,
i want it to save through query.,

i have example of sql query saving in xls format., but i want the query result to save in csv format.
eg. xls format
- "Select Fields into TempData in ''sample.xls'' ''Excel 5.0;'' from From Table"

解决方案

@xxoulmate
I can show you a Custom Routine that I created which will write specific Query Field Values to a CSV (Comma Seperated Value) File but I''ll wait and see if anyone has a better idea. I''m probably mistaken, but I do not think that there is an easy way to accomplish this through the Access Interface, but there is programmatically.


how bout., instead of saving it in csv file save it in text file through query


This method will help you...

Expand|Select|Wrap|Line Numbers


这篇关于访问数据到CSV文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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