ACC1x: "Invalid Argument" Error Message Exporting TableID: Q109375
|
The error message "Invalid argument" is displayed when you export a table from Microsoft Access with either the Word For Windows Merge or the "Text (Delimited") format.
The table you are exporting is an attached SQL table that contains a field with a Text data type, which is equivalent to a Microsoft Access Memo field.
To work around this problem you can:
Microsoft has confirmed this to be a problem in Microsoft Access versions 1.0 and 1.1. This problem no longer occurs in Microsoft Access version 2.0.
You can use the SQL Server sp_help stored procedure to determine which
fields in the attached SQL Server table have a Text data type.
For example, for a SQL table called MyAddressList that contains a field
called Notes that has a Text data type, the sample command
sp_help MyAddressList
Name Owner Type
----------------------------------------
MyAddressList dbo user table
Column_name Type Length Nulls
-------------------------------------------
EntryNumber int 4
Name varchar 30
... other fields ...
Notes text 16
USE <A valid SQL database name here>
CREATE TABLE MyAddressList
(
EntryNumber int null,
Name varchar(30) null,
Notes text null
)
CREATE UNIQUE NONCLUSTERED INDEX I_EntryNumber
ON MyAddressList (EntryNumber)
Microsoft Access "User's Guide," version 1.0, pages 66-68 and page 163
Microsoft Access "User's Guide," version 1.1, pages 67-68, 84-87, and
page 167
Keywords : kb3rdparty IsmTxtd
Version : 1.0 1.1
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: March 30, 1999