本文介绍了如何使用“()”来获取DoCmd.TransferText以识别负数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


系统:Access 2010,WinXP

我有一个我使用以下代码导入的文本文件:

Hi All,

System: Access 2010, WinXP

I have a text file I am importing using the following code:

展开 | 选择 | Wrap | 行号

推荐答案

  1. BVRImp 规范,将可能包含负数的字段的数据类型更改为TEXT,而不是NUMERIC。我的猜测是(< Some Value>)不会被解释为负数,无论是在规范内还是导入过程本身。如果我是正确的,您现在收到数据类型转换错误以及后续< TableName> _ImportErrors表。
  2. 您是否尝试过手动导入,绕过规范?
  1. Within the BVRImp Specification, change the Data Type of the Field that may contain Negative Numbers to TEXT, rather than NUMERIC. My guess is that (<Some Value>) is not being interpreted as a Negative Number, either within the Specification, or Import Process itself. If I am correct, you are now getting a Data Type Conversion Error along with a subsequent <TableName>_ImportErrors Table.
  2. Have you tried a Manual Import, bypassing the Specification?




这篇关于如何使用“()”来获取DoCmd.TransferText以识别负数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-15 15:04