Hi Guys
My ISP has just performed an upgrade of ASP - Upgraded from iASP 2.0 to Sun Java ASP 4.0.2.
Having at long last sussed the DB connection string I am now still unable to load my asp pages.
Net result is that I am getting various error messages no doubt to do with slightly different...
Hi Guys
I am very new to ASP and have been having great fun with the vertical learning curve and then my ISP moved the goal posts - I hope that my question is correctly posted to this forum.
All had been going well until my ISP upgraded from iASP to Sun One (does that make sense!?)
Since then...
Here I was putting the finishing touches to my first, quite complex (well for me anyway) asp/db application and then I add a few more test records to my db.... the result the following error message...
CODE
Vbscript Runtime error 'ASP 0185 : 3219'
General error: The SELECT would examine too...
Here I was putting the finishing touches to my first, quite complex (well for me anyway) asp/db application and then I add a few more test records to my db.... the result the following error message...
Vbscript Runtime error 'ASP 0185 : 3219'
General error: The SELECT would examine too many...
I am having trouble displaying text from a mySql DB.
I have a field in a DB of type "medium text". I sucessfully diplay these on my asp page asigning them to a variable altText=RS("dbfield") and then outputting using response.write. All works ok. I have another field of "medium text" and use...
On an asp page that allows the user to edit account details I have a list box showing relationships.
I need to set the selected option to that retrieved from a DB record when I create / present the edit page to the user.
No matter what I try I always seem to select the last item in the list -...
Hi Guys.
I've played with the syntax below so much I've forgotten what I've tried and what I haven't. So I thank you in advance for keeping me sane. I am trying to retrieve the index value for the option box.
Here's the function
<script type="text/javascript">
function getIndex()
{
var...
Hi Guys
This has to be something so incredibly simple, I'm sure I'm going to be embarrassed by the answer.
if intpage =9 then
Response.Write "Confirmed intpage= 9 "
End If
>>>>>Result true Response.Write outputs text
if intpagecount =9 then
Response.Write"intPageCountpage= 9"
End If...
Hi
I have an asp page with a submit button
<input type="submit" name="btnSelection" value="I made this choice">
On another page I Request.Form("btnSelection") and get the result I made this choice ,
Where / why have I got a space and a comma appended to the end of the text after the word...
Hi Guys
Is there a way I can submit a page from within asp code -
for example> if x then submit page.
I think I've already got some of the pieces of the jigsaw.
Suspect I need to used a javascript function and call that when the condition is met.
Many thanks in advance
Jonathan
Hi
I have an asp page that displays the results of a DB query in a simple table.
I am using a submit button within the table and setting its value to FirstName&SurName of the person. So I end up with one button for each persons name. The value (name of person) of the button is then posted to...
I have a for next loop that writes a sql update to db.
I am having problems with the syntax of incrementing a request statement variable.
RadioCount=1
For xx = intFirstRec to intLastRec
strSQL=strSQL + "' ,intBScore ='" & Request("QB1")
..the above line works fine but I want to increment the...
I have an asp page that presents the user with 65 questions. I am using database paging to present 8 records (questions) per page. The question text is sourced from a mysql db. The user responds by selecting one of a group of 7 radio buttons per question. This all works fine. My question is how...
I can successfully pass one variable to a subroutine but if I try 2 or more I get error message "Invalid procedure call or argument"
My Subroutine Code
<%Sub DisplayQuestionNumber(LineColour,QN)
Response.Write ("<tr>")
Response.Write ("<td width=29 align=center valign=middle...
Help! I'm struugling with ASP/VBScript/JavaScript.
I am desinging a web page that will collect responses to a questionnaire. The question text and answers are stored in a mySql DB. As the user completes the questionnaire the page needs to be dynamically redrawn getting next block of questions...
I'm stuck again with my favourite command 'Response.Write'
My Code
<%
Dim txtA1Grade
txtA1Grade="Do Not Know"
Response.Write ("<input name=QA1 type=radio value=2 onClick=J(this.name,this.title) title=" & txtA1grade &">")
%>
Whilst I can test the length of txtA1Grade resulting in 11
chars my...
Having jumped in the deep end with ASP I'm stuck with a syntax problem (no doubt down to pure ignorance!!)
My Code
Response.Write ("<td width=400 align=center valign=middle style='background-color: rgb(170,189,255)' height=1><font face=Gill Sans><p...
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.