Overflow

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Bayvill
    New Member
    • Oct 2007
    • 1

    #1

    Overflow

    This is the code!!!

    Dim o as integer

    For o = 50000 To 74999
    If txtSales.Text = o Then
    lblBusinessTax. Caption = 1089
    End If
    Next
  • QVeen72
    Recognized Expert Top Contributor
    • Oct 2006
    • 1445

    #2
    Hi,

    u will get overflow error, as Integer limit is 32767
    or declare o as Long


    Regards
    VEENA

    Comment

    • debasisdas
      Recognized Expert Expert
      • Dec 2006
      • 8119

      #3
      Integer does not support that range.

      Comment

      Working...