Run-time error 6: OverFlow

mfaqueiroz

Registered User.
Local time
Yesterday, 22:22
Joined
Sep 30, 2015
Messages
125
Hi :)

I have one calculated field TimeMS:CDbl([date])*86400000+[ms] --> is to convert the date to miliseconds

So I have defined as
Dim TimeMs as Long
....
(code)
....
TimeMS = CLng(Tab1.Fields(9).Value)
..

And appears the error 6(overflow), do you know how can i solve that?
:)
Thank you

I wish a good week for everyone!
 
Last edited:
CDbl([date]*86400000)+[ms]
 

Users who are viewing this thread

Back
Top Bottom