复制到 xxxx.xls 类型 XLS (VFP 8.0 SP1)
我使用 VFP 8.0 (SP1) 使用命令从 SQL 2008 下载表: 复制到 xxx 类型 XLS Excel 中的某些数据正在消失。
例子, SQL 中的表:Cus(ID int(4), CusNam VARCHAR(35))
当我在 VFP 表单中发出以下命令时:
(a) COPY TO xxx TYPE FOX2x [数据正确显示如下]
*ID CusNam
1 ABC
2 DEF*
(b) 复制到 xxx TYPE XLS [第二条记录消失]
*ID CusNam
1
2 DEF*
感谢您的帮助!
I downloading table from SQL 2008 using VFP 8.0 (SP1) using command:
COPY TO xxx TYPE XLS
Some of the data in the excel is disappearing.
Example,
Table in SQL: Cus(ID int(4), CusNam VARCHAR(35))
When i issue the following command at VFP Forms:
(a) COPY TO xxx TYPE FOX2x [Data display correctly as following]
*ID CusNam
1 ABC
2 DEF*
(b) COPY TO xxx TYPE XLS [2nd Record disappear]
*ID CusNam
1
2 DEF*
Appreciate for any helps!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为了进行测试,我只需将其作为表格直接复制到 VFP,看看是否正确写入。然后你可以从那里复制它..你是使用视图设计器和连接,还是通过类似的东西手动控制
在VFP / SQL的所有这些年里,我不记得有任何这样的数据丢失。但是,在转储到 Excel 时,记录数限制为 65535...旧版 Excel 文件格式容量的最大值,此后从未扩展过。
For testing, I would just copy to VFP directly as a table to see if THAT writes out correctly. Then you can copy it out from there.. Are you using the view designer and connection, or manually controlling via something like
In all the years of VFP / SQL, I don't ever recall any such data loss. However, when doing a dump to Excel, there is a limit of records to 65535... the max of older Excel file format capacity which was never extended since.