Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


OverFlow Error

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,923
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> OverFlow Error
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 OverFlow Error - 11/1/2003 4:11:49 AM   
  NetGopher

 

Posts: 1
Score: 0
Joined: 11/1/2003
From:
Status: offline
I've been banging my head about this one for almost 4 hours. Any help would be appreciated.

intTotalParts = oJobPartHistRs("Qty_Req")
intPartsMade = oJobPartStatRs("Job_Parts_Produced")
intCavities = oJobPartStatRs("Current_Cavities")
fltStdCycle = oPartInfoRs("Std_Cycle_Time")

lngRunEnd = (intTotalParts-intPartsMade)
lngRunEnd = lngRunEnd/intCavities

response.write(lngRunEnd&" "&intCavities)


We'll Say intTotalParts = 50000 and intPartsMade = 42000
that would make lngRunEnd = 8000
intcavities = 8


When I go to divide lngRunEnd by intCavities I get an overflow error. I can't figure out why for the life of me.

Any Ideas?
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> OverFlow Error Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts