I have an ASP page in which I reference quite a few ADO constants such as adOpenStatic, adLockReadOnly and they work fine but a reference to adUseServer comes up as undefined?
My site web is using database in ACCESS. I'M using a Table and a Query, the table work fine but the Query don't work.I got the error : Undefined "NZ" function. I did some search and found that when query are used, it use a function "NZ" to replace NULL with " ". But ASP can't use that. It's what I understood. I found some code to repair this but they modify my Database, and I don't think I should do this because maybe it could crash it.Somoene know how to get ride of this with out modifying the DB?
Is there a way of detecting what the causes is on a undefined error without using asp?
Asp scripts have stopped working on my site. HTML pages still work, but not if I change the extension to ASP. I get a 500 error, even when the asp script only contains HTML.
My host is Fasthosts but my reseller never returns my emails.
I have the following asp code and the functionality works, but before it works a dialog box pops up and says 'Runtime error 'Episodes' is undefined. I don't know how to get rid of it. Anyone have any ideas?:
for i=1 to 5 response.write "<tr><td><a style='text-decoration: underline;' class='biosLinks' href='http://www.url.com/Episodes/episode" & i & ".wmv' onclick='window.open(Episodes/episode" & i & ".wmw); return false'>Episode " & i & "</a><br></td></tr>" next
I'm developing an account lookup, mostly in ASP, that displays a list of radio buttons to select one account from those found in a recordset. Here is a snip of the account display, after the recordset is populated: Code:
for eg strtext =" response.write ""hello world!"" "
now i have tried single quotes and double and both give the error Unterminated string constant reason i want this is so that i can write this line to a text file
or better yet "<%response.write "hello world!"%>" into a file and then save it as an asp page, and then open that page from my browser.
I have a table (MSSQL 2000 server) with a column called "Content" whose datatype is text. Now I'm trying to insert data into the table using a stored procedure. What is the ADO constant that I should use to insert value into that column? Code:
I need to create an ASP page that automatically queries my database once every hour on the hour. So, what I was hoping to do was just create an ASP page that constantly loops and never actually turns itself off. Within this code, it could check the current time and if it's the top of the hour again, my database gets queried however I have a feeling that my web host probably won't permit this. So I was just wondering if this would work or if not, is there a work around? Worse case senario is I could create a visual basic application that sits on my desktop and just works off of there but I would prefer to develop this in a web based language such as ASP or .NET if possible.
I have a quick question regarding a text field for inserting record, I have a page which inserts various fields including area code an phone number for a new record, however I am curious if there is a way that I can either make the area code appear with brackets around it in the text field which is sent so that the user does not have to type it in each time.
I was thinking I could concantenate the value i send in each time with brackets but am not sure what the syntax would b for this. or perhaps there is another way of doing this?
I am trying to resize images which have been retrieved from my database using 2 DLL files. I can display the images correctly but get an error message (Unterminated string constant) when I try to resize them.
Microsoft VBScript compilation (0x800A0409) Unterminated string constant
Here is my Query, It is slight incorrect: HELP.
newest_sql = "SELECT TOP 5 CatID, ContentID, DateAdded, Title, FeaturedLabel, NewestLabel FROM Content, ContentTypes Where Content.ContentTypeID = ContentTypes.ContentTypeID AND (((Content.Display)=1) AND ((ContentTypes.ContentTypeId)=4)) ORDER BY DateAdded DESC"
I am trying to insert values into a database using an sql statement that i read from a table that contains all my different sql commands. The sql statement is stored in the following way in the table: Code: