I get the error "Calendar.Date.CV_SELECTEDMONTH denotes a field where a class was expected" when I am trying to use a private variable inside a class:
private DateTime CV_SELECTEDMONTH=DateTime.Today;
private int...
I have made some progress... since there isn't thirty-one days in September it throws an error. (before dateadd works with it) So, I put an if statement around it. Now it works except for 31 Aug alerts nothing, I think further testing would turn up other omissions.
I have already tried cdate(lvMonth & "/" & pValue & "/" & lvYear) and this is the error it gives me:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: 'cdate'
Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: '[string: "9/31/2004"]'
is the error I am getting. I tried using datavalue and cdate to change the concatated string to a date. All of the functions are included below.
**** code below ****
<% @LANGUAGE = "VBScript" %>
<%...
I get "Error Type: Microsoft VBScript compilation (0x800A03EE) Expected ')'" for
dim pArray()
call testing("1","2","")
public function testing(pArray(0),pArray(1),pArray(2))
for each item in pArray
if pArray(item)="" then pArray(item)="0"
response.write(pArray(item))...
I forgot to add those when I deconstructed the actual functions to show I had all necessary items to use the statement. I am asking about the sql statement.
My webpage platform is sun one asp/mySql and I am having a problem with the following insert statement. The statement works in the query analyzer and I get a generic error page.
(id is a timestamp field)
insert into cv_archive
select * from cv
where id = 20040730134934
set conn =...
I am getting Error Number : 438 - Source : Sun ONE ASP VBScript runtime error - Object does not support this property or method: 'count'. Does anybody know where I can find info on Sun One's error object?
I need to find a way to change the background color of input text boxes. Is my syntax close to correct?
var tmpName = autoquote.elements[i];
...
tmpName.style.backgroundColor="yellow";
Thanks... but that didn't work. I am getting this error message
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
I'm trying to connect remotely to a website database with the same string I use for the website - conn.ConnectionString="DRIVER={MySQL};DATABASE=mediajunkie_us;SERVER=www.mediajunkie.us;UID=a304eb;PWD=###".
Does need to be changed and if so... how?
Still gives me an unspecified error
dim sql,rs,conn
dim path
sql="select section from codeview"
path=server.mappath("wp.mdb")
set conn = Server.CreateObject("ADODB.Connection")
set newrs = Server.CreateObject("ADODB.Recordset")...
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.