|
 |
asp_databases thread: sYntax error
Message #1 by "Matthew Lohr" <mlohr@t...> on Tue, 25 Apr 2000 03:15:22 -0700
|
|
Awhile back I asked a question about this syntax error I was getting. I
thought it was unique to one machine viewing the web page but now I see it
is not. I keep getting the following syntax error everytime I run my
script. I was looking at an example from www.asptoday.com and just never
got it to work right. I am not sure if the problem is in my database or
something i did not understand in the script. If anyone knows of a problem
with the following line could you please help?
var alen = eval(strArray + ".length")
-----Original Message-----
From: Ken Schaefer
Sent: Tuesday, April 25, 2000 7:44 AM
To: ASP Databases
Subject: [asp_databases] Re: Updating a database using ASP
> I think Dynamic cursors don't work with access databases. we could use
> command or connection objects instead of recordset to add a new record.
If the provider does not support a particular cursor, then it will supply a
substitute cursor.
There is no problem using recordset object to add a new record to a table,
though it's slower than just executing an SQL statement against a connection
object.
Cheers
Ken
---
You are currently subscribed to asp_databases
Message #2 by "jon" <jecusick@s...> on Wed, 26 Apr 2000 14:17:26
|
|
Matthew, Could you post a link to the code sample that isn't working. I'm
curious to see what this is.
Thanks,
Jon Cusick
Message #3 by "Matthew Lohr" <mlohr@t...> on Wed, 26 Apr 2000 10:29:40 -0400
|
|
www.reccouncil.com/lacrosse/teams/teamselect.asp
-----Original Message-----
From: jon
Sent: Wednesday, April 26, 2000 2:17 PM
To: ASP Databases
Subject: [asp_databases] Re: sYntax error
Matthew, Could you post a link to the code sample that isn't working. I'm
curious to see what this is.
Thanks,
Jon Cusick
---
You are currently subscribed to asp_databases
Message #4 by "Ken Schaefer" <ken.s@a...> on Thu, 27 Apr 2000 10:10:35 +1000
|
|
> Awhile back I asked a question about this syntax error I was getting. I
> thought it was unique to one machine viewing the web page but now I see it
> is not. I keep getting the following syntax error everytime I run my
> script. I was looking at an example from www.asptoday.com and just never
> got it to work right. I am not sure if the problem is in my database or
> something i did not understand in the script. If anyone knows of a
problem
> with the following line could you please help?
>
> var alen = eval(strArray + ".length")
Your problem is a client-side javascript error...nothing to do with the
database.
Netscape Javascript console reports: ".length Syntax Error"
Cheers
Ken
Message #5 by "Matthew Lohr" <mlohr@t...> on Thu, 27 Apr 2000 07:26:09 -0400
|
|
IE5 gives the saMe error
-----Original Message-----
From: Ken Schaefer
Sent: Wednesday, April 26, 2000 8:11 PM
To: ASP Databases
Subject: [asp_databases] Re: sYntax error
> Awhile back I asked a question about this syntax error I was getting. I
> thought it was unique to one machine viewing the web page but now I see it
> is not. I keep getting the following syntax error everytime I run my
> script. I was looking at an example from www.asptoday.com and just never
> got it to work right. I am not sure if the problem is in my database or
> something i did not understand in the script. If anyone knows of a
problem
> with the following line could you please help?
>
> var alen = eval(strArray + ".length")
Your problem is a client-side javascript error...nothing to do with the
database.
Netscape Javascript console reports: ".length Syntax Error"
Cheers
Ken
---
You are currently subscribed to asp_databases
Message #6 by "Matthew Lohr" <mlohr@t...> on Thu, 27 Apr 2000 10:41:44 -0400
|
|
I fixed I must have typed something wrong when entering my code the first
time. I started over from scratch and it works now. Thanks
-----Original Message-----
From: Matthew Lohr
Sent: Thursday, April 27, 2000 7:26 AM
To: ASP Databases
Subject: [asp_databases] Re: sYntax error
IE5 gives the saMe error
-----Original Message-----
From: Ken Schaefer
Sent: Wednesday, April 26, 2000 8:11 PM
To: ASP Databases
Subject: [asp_databases] Re: sYntax error
> Awhile back I asked a question about this syntax error I was getting. I
> thought it was unique to one machine viewing the web page but now I see it
> is not. I keep getting the following syntax error everytime I run my
> script. I was looking at an example from www.asptoday.com and just never
> got it to work right. I am not sure if the problem is in my database or
> something i did not understand in the script. If anyone knows of a
problem
> with the following line could you please help?
>
> var alen = eval(strArray + ".length")
Your problem is a client-side javascript error...nothing to do with the
database.
Netscape Javascript console reports: ".length Syntax Error"
Cheers
Ken
Message #7 by "Ken Schaefer" <ken.s@a...> on Fri, 28 Apr 2000 10:40:28 +1000
|
|
> IE5 gives the saMe error
That's because there is a syntax error in your javascript. I merely noted
what the Netscape Console spewed out, as an aid to helping you solve your
problem.
In Netscape v4, whenever a javascript error is encountered in a page, you
can type:
javascript:
in the address bar, and a console will open and point out the errors, what
lines they occured on, and point out where in the line the error(s)
occurred.
HTH
Cheers
Ken
> -----Original Message-----
> From: Ken Schaefer
> Sent: Wednesday, April 26, 2000 8:11 PM
> To: ASP Databases
> Subject: [asp_databases] Re: sYntax error
>
>
> > Awhile back I asked a question about this syntax error I was getting. I
> > thought it was unique to one machine viewing the web page but now I see
it
> > is not. I keep getting the following syntax error everytime I run my
> > script. I was looking at an example from www.asptoday.com and just
never
> > got it to work right. I am not sure if the problem is in my database or
> > something i did not understand in the script. If anyone knows of a
> problem
> > with the following line could you please help?
> >
> > var alen = eval(strArray + ".length")
>
> Your problem is a client-side javascript error...nothing to do with the
> database.
>
> Netscape Javascript console reports: ".length Syntax Error"
>
> Cheers
> Ken
|
|
 |