Enjoy unlimited access to all forum features for FREE! Optional upgrade available for extra perks.
Sedo.com

Wanted: Service help wanted ASP Error

Status
Not open for further replies.

pilejarse

Level 1
Legacy Platinum Member
Joined
Apr 2, 2006
Messages
7
Reaction score
0
Microsoft VBScript runtime error '800a0006'

Overflow: 'cint'

func.asp, line 24

what to do to solve this code problem?

24.line is like that :

sql = "UPDATE count SET count='" & cint(bfx("count"))+1 & "'"
 

demo

DNF Member
Legacy Exclusive Member
Joined
Feb 26, 2006
Messages
438
Reaction score
0
if count is an integer you shouldn't be enclosing it in single quotes. single quotes are for strings...

try

sql = "UPDATE count SET count=" & cint(bfx("count"))+1 & ";"
or possibly bfx("count") is null...
 
Status
Not open for further replies.

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Sedo - it.com Premiums

IT.com

Premium Members

MariaBuy

Our Mods' Businesses

UrlPick.com

*the exceptional businesses of our esteemed moderators

Top Bottom