I have a report in an Access 97 app that has as its data source a query that is built programmatically. The query can get rather long, as the Where clause is built programmatically and can have several different conditions. When the data was all Access I was able to run it without error. I now have most of the tables as linked tables to a SQL Server 2005 database. When I now run the same report I get the following message:
"Run-time error '3163': The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data."
Is this because of the data now being linked to a SQL Server database? Could there be something in the SQL to the query (which now has straight Access and SQL linked tables in it) that would generate this error? When I step through the report the error occurs when the datasource Database value is set to CurrentDb.
Thank you for any assistance.
"Run-time error '3163': The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data."
Is this because of the data now being linked to a SQL Server database? Could there be something in the SQL to the query (which now has straight Access and SQL linked tables in it) that would generate this error? When I step through the report the error occurs when the datasource Database value is set to CurrentDb.
Thank you for any assistance.