from MSDN:
Overflow (Error 6)
An overflow results when you try to make an assignment that exceeds the
limitations of the target of the assignment. This error has the following
causes and solutions:
The result of an assignment, calculation, or
data type conversion is too large to be represented within the range of values
allowed for that type of
variable.
Assign the value to a variable of a type that can hold a larger range of values.
An assignment to a
property exceeds the maximum value the property can accept.
Make sure your assignment fits the range for the property to which it is made.
You attempt to use a number in a calculation, and that number is coerced
into an integer, but the result is larger than an integer. For example:
Dim x As Long x = 2000 * 365 ' Error: Overflow
To work around this situation, type the number, like this:
Dim x As Long x = CLng(2000) * 365
Arnold Marquez <[EMAIL PROTECTED]> wrote:
Hi
I am currently experiencing a problem with my program and this error keeps
knocking. (RUNTIME ERROR '6' OVERLOW). There is an instance that my program
will be ok
and after a series of data encoding this error would suddenly appear in the
screen particularly when opening a report or a form with MS controls.
Can anyone help me with this matter as i would be launching my program next week
pls help me....
Arnold
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
[Non-text portions of this message have been removed]
'// =======================================================
Rules : http://ReliableAnswers.com/List/Rules.asp
Home : http://groups.yahoo.com/group/vbHelp/
=======================================================
Post : [EMAIL PROTECTED]
Join : [EMAIL PROTECTED]
Leave : [EMAIL PROTECTED]
'// =======================================================
Yahoo! Groups SponsorADVERTISEMENT
---------------------------------
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/vbhelp/
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
---------------------------------
Yahoo! Messenger - Communicate instantly..."Ping" your friends today!
Download Messenger Now
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/k7folB/TM
--------------------------------------------------------------------~->
'// =======================================================
Rules : http://ReliableAnswers.com/List/Rules.asp
Home : http://groups.yahoo.com/group/vbHelp/
=======================================================
Post : [EMAIL PROTECTED]
Join : [EMAIL PROTECTED]
Leave : [EMAIL PROTECTED]
'// =======================================================
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/vbhelp/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/