OVERFLOW message 
Author Message
 OVERFLOW message

This most commonly comes up when you put a really big number in a data
type that can't hold it.  This comes up sometimes when using Int
rather than Long or Single rather than Double.

If that doesn't help, give us a little more info.

-Matt



Quote:
>Dear all
>I have a problem with my application on OVERFLOW dialog
>box message appear during my program are on progress,i try
>to solve the problem unfortunately  my effort fail so i
>decide to request your help ,how can i solve it.
>thank in advance



Sun, 15 May 2005 15:13:15 GMT  
 OVERFLOW message

Thank you for the answer. But accualy it is not that case.
The attached file is the module for generating the bill
and it is working for 3 months already, the problem just
starting this month. For the number of consumer in the
sequence are only 400.
If you can spent a litle time to check and tell me what
wrong with it.

Yours Sincerely,

Quote:
>-----Original Message-----
>This most commonly comes up when you put a really big
number in a data
>type that can't hold it.  This comes up sometimes when
using Int
>rather than Long or Single rather than Double.

>If that doesn't help, give us a little more info.

>-Matt

>On Tue, 26 Nov 2002 17:00:26 -0800, "Kan Thay"


Quote:

>>Dear all
>>I have a problem with my application on OVERFLOW dialog
>>box message appear during my program are on progress,i
try
>>to solve the problem unfortunately  my effort fail so i
>>decide to request your help ,how can i solve it.
>>thank in advance

>.

  GenerateBill.rtf
15K Download


Sun, 15 May 2005 16:04:09 GMT  
 OVERFLOW message
Kan:

Pasting code into the body of posts is preferrable to attaching
documents because some ISPs don't allow binaries in non-binaries
groups and because the archives won't show what was in the attachment.

I took a quick glance at the code,  and saw several variables declared
as Integer.  From my perspective there's nothing else to look at.

It also looked like lots of variables weren't specifically declared as
any type at all.  I'm not sure what Access does in that case (probably
Variant),  but I'm thinking that's not sound practice. IMHO.

If you get rid of all the Integers and Singles and still have the
problem,  try to more precisely narrow down the line on which the
error is occurring.  If you do so,  I think more people would be
willing to lend assistance.

Good luck!

-Matt



Quote:
>Thank you for the answer. But accualy it is not that case.
>The attached file is the module for generating the bill
>and it is working for 3 months already, the problem just
>starting this month. For the number of consumer in the
>sequence are only 400.
>If you can spent a litle time to check and tell me what
>wrong with it.

>Yours Sincerely,

>>-----Original Message-----
>>This most commonly comes up when you put a really big
>number in a data
>>type that can't hold it.  This comes up sometimes when
>using Int
>>rather than Long or Single rather than Double.

>>If that doesn't help, give us a little more info.

>>-Matt

>>On Tue, 26 Nov 2002 17:00:26 -0800, "Kan Thay"


>>>Dear all
>>>I have a problem with my application on OVERFLOW dialog
>>>box message appear during my program are on progress,i
>try
>>>to solve the problem unfortunately  my effort fail so i
>>>decide to request your help ,how can i solve it.
>>>thank in advance

>>.



Mon, 16 May 2005 09:36:13 GMT  
 OVERFLOW message
Dear Matt,

Thank you for your reply.

The problem was solved before I read your comment. It is
right for Access by default it put the variables as
variant.I don't understand when I produce the bills for
400 consumer and it complet 50% than MsgBox("Overlow")
apear.It mean that 200 consumer come through my module one
by one without any problem.  
So I try to solved it by debug step by step and finally
found that it stop at point DebtID("UNT").As you saw my
module it have a lot of functions to call, I think this is
the case so I remove it and write it in the place where I
call and after that my programs is working sucessfully
100%.

Anyway I would like to said "Thanks you" to you for your
help.

As we contact with a fews message I'm not yet khnow above
you.For me, I work as IT Manager of Electricity of
Combodge.

Regards,
Thay        

Quote:
>-----Original Message-----
>Kan:

>Pasting code into the body of posts is preferrable to
attaching
>documents because some ISPs don't allow binaries in non-
binaries
>groups and because the archives won't show what was in
the attachment.

>I took a quick glance at the code,  and saw several
variables declared
>as Integer.  From my perspective there's nothing else to
look at.

>It also looked like lots of variables weren't

specifically declared as

- Show quoted text -

Quote:
>any type at all.  I'm not sure what Access does in that
case (probably
>Variant),  but I'm thinking that's not sound practice.
IMHO.

>If you get rid of all the Integers and Singles and still
have the
>problem,  try to more precisely narrow down the line on
which the
>error is occurring.  If you do so,  I think more people
would be
>willing to lend assistance.

>Good luck!

>-Matt

>On Wed, 27 Nov 2002 00:04:09 -0800, "Kan Thay"


- Show quoted text -

Quote:

>>Thank you for the answer. But accualy it is not that
case.
>>The attached file is the module for generating the bill
>>and it is working for 3 months already, the problem just
>>starting this month. For the number of consumer in the
>>sequence are only 400.
>>If you can spent a litle time to check and tell me what
>>wrong with it.

>>Yours Sincerely,

>>>-----Original Message-----
>>>This most commonly comes up when you put a really big
>>number in a data
>>>type that can't hold it.  This comes up sometimes when
>>using Int
>>>rather than Long or Single rather than Double.

>>>If that doesn't help, give us a little more info.

>>>-Matt

>>>On Tue, 26 Nov 2002 17:00:26 -0800, "Kan Thay"


>>>>Dear all
>>>>I have a problem with my application on OVERFLOW
dialog
>>>>box message appear during my program are on progress,i
>>try
>>>>to solve the problem unfortunately  my effort fail so
i
>>>>decide to request your help ,how can i solve it.
>>>>thank in advance

>>>.

>.



Tue, 17 May 2005 11:37:51 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Xon not tramitted , before VB6 gets an overflow message

2. Overflow message!!!!!!!

3. Data OverFlow Error Message

4. Stack Overflow error message during Recalc

5. arithmetic overflow without overflow

6. Trapping Warning Messages, NOT Error Messages

7. How to access mail message fields from a VBA form which was executed by that message

8. Retrieving message body text of currently selected message

9. Saving New Message or Reply Message to Exch Folder

10. get to message properties of certain email message

11. Get a warning message when programatically forward message

12. Can I access current email message from within email message

 

 
Powered by phpBB® Forum Software