Problem with CDaoRecordset "Too few parameters. Expected 1"
-
Hi, I Use Visual C++ 6.0 and an access Database. I want to execute a SQL statement with CDaoRecordset. This error message occurs : "Too few parameters. Expected 1" when i use Open method. My SQL statement is longer than 256 characters ( about 1100 ). The problem is here it seems. If i run This query directly in Microsoft Access, it work. Is there any method to execute un SQL Statement like this in DAO ( CDaoDatabase ) ??? Thanks in advance Regards,
-
Hi, I Use Visual C++ 6.0 and an access Database. I want to execute a SQL statement with CDaoRecordset. This error message occurs : "Too few parameters. Expected 1" when i use Open method. My SQL statement is longer than 256 characters ( about 1100 ). The problem is here it seems. If i run This query directly in Microsoft Access, it work. Is there any method to execute un SQL Statement like this in DAO ( CDaoDatabase ) ??? Thanks in advance Regards,
Show me the line.... Cheers!!!:-D Carlos Antollini.