Well I have an interesting one.
I have a query that runs fine though access, but not through my program. The query is:
select * from servers where (datediff("n",LastGoodConnect, Now() ) > 14)
I get an error that says "too few parameters. Expected 1." All the field names and datatypes are correct and, as I've said, it runs perfectly fine when I copy & paste it into an access query.
My program is written in VB6 and I'm using ADO to talk to access 2000.
Any ideas?
I have a query that runs fine though access, but not through my program. The query is:
select * from servers where (datediff("n",LastGoodConnect, Now() ) > 14)
I get an error that says "too few parameters. Expected 1." All the field names and datatypes are correct and, as I've said, it runs perfectly fine when I copy & paste it into an access query.
My program is written in VB6 and I'm using ADO to talk to access 2000.
Any ideas?