mfaqueiroz
Registered User.
- Local time
- Today, 08:18
- Joined
- Sep 30, 2015
- Messages
- 125
Hi!
I'm stuck with this error : error 6:Overflow I've serch for this and the solutions are pretty similar : set the variable as long and use the Clng, I have did that however the error persists.
There is my code,
Dim End as Long
Set dbs = DBEngine(0)(0)
Set TABLE1= dbs.OpenRecordset("input",db_open_dynaset)
End= CLng( DDcount("ID","Input"))
For x=1 to (End-1)
Any suggestion?

Thank yoou!!
I'm stuck with this error : error 6:Overflow I've serch for this and the solutions are pretty similar : set the variable as long and use the Clng, I have did that however the error persists.
There is my code,
Dim End as Long
Set dbs = DBEngine(0)(0)
Set TABLE1= dbs.OpenRecordset("input",db_open_dynaset)
End= CLng( DDcount("ID","Input"))
For x=1 to (End-1)
Any suggestion?
Thank yoou!!