Hi onpnt,
I mean client side javascript,server side is VBscript.
The error message is:
CInt(afieldnum)-->type mismatch,
because the afieldnum is empty.
I used javascript to collect data for this field.
When code try to display the field:
Response.Write CInt(afieldnum)
The program crashed.
Betty
Hi everyone,
Recently, I am investigating a bug of javascript problem in our asp page. Somehow it always crashed in the same places in one of our asp pages for 10 times. The data fields are empty, with those fields, I collected data using JavaScript(not backed up by asp program)
But I cannot...
Hi trollacious,
Can you test this link:
http://www.travelinsuranceservices.com/select2006/selectQuote2_step1_test.asp
on your Mac system.
Thank you.
Betty
Hi everyone,
Recently, I am investigating a bug of javascript problem in our asp page. Somehow it always crashed in the same places in one of our asp pages for 10 times. The data fields are empty, with those fields, I collected data using JavaScript(not backed up by asp program)
But I cannot...
Hi everyone,
I tried to check before set an object is nothing so I did the following:
If Not isNULL(Executor) then
Executor.Close 'error here
set Executor=nothing
End If
or
If Not isObject(Executor) then
Executor.Close 'error here
set Executor=nothing
End If
But it always give me the...
Hi everyone,
if I have code like this in page1.asp:
If a=b then
'do something
Else
response.redirect("page2.asp")\
End if
set cmdTemp=Nothing
conn.close
set conn=nothing
Does that mean if the line response.redirect statement get executed, the last three lines of code in page1.asp will...
Hi DNG,
Thanks for the reply.
What I am trying to do is
1----if countRS.EOF then
2---- do something
3----else
4----- If CInt(CountRS.fields("submitCount"))<4 then
5----- do same thing as line 2
6----- End if
7----- End if
That's why I am trying to merge the code into one...
Hi everyone,
can I do the following:
If countRS.EOF or ( (Not CountRS.EOF) and ( CInt(CountRS.fields("submitCount"))<4 ) ) then
do something here
End if
What I am trying to do is merge the following code:
if countRS.EOF then
do something
End
If ( (Not CountRS.EOF) and (...
Hi everyone,
Our asp pages depend on a lot on javascript in order to display the error message to customer from client side, not
server side. But I feel some problems on our site come from javascript.
Recently I always find that some non duplicable error on our eCommerce site. Most of these are...
Hi everyone,
I set up a customer error messge and auto email which record form data and error details on our web site in order to proactively to monitor what's going on for eCommerce site.
Today, I got one message like this:
* Line, Column:447, -1
* Description: [Microsoft][ODBC SQL Server...
Thanks all of you for your response.
I am still bewildered by the puzzle. When I programmed,
I already tested many, many times(more than one hundred), only one time, I got this error and I just cannot figure out
the problem. Now the code is in production, I got this error again from my error...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.