Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. JonathanG6SWJ

    ASP - Upgraded from iASP 2.0 to Sun Java ASP 4.0.2

    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...
  2. JonathanG6SWJ

    Connection String (HELP!)

    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...
  3. JonathanG6SWJ

    Error =SET OPTION SQL_BIG_SELECTS=1

    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...
  4. JonathanG6SWJ

    ASP/MySql error (SET OPTION SQL_BIG_SELECTS=1)

    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...
  5. JonathanG6SWJ

    Displaying text from mySql DB

    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...
  6. JonathanG6SWJ

    How to set "selected" in list box?

    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 -...
  7. JonathanG6SWJ

    syntax prob- retrieve & submit value from function

    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...
  8. JonathanG6SWJ

    = operator producing strange results

    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...
  9. JonathanG6SWJ

    Where did the COMMA come from!

    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...
  10. JonathanG6SWJ

    Conditional submit

    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
  11. JonathanG6SWJ

    Submit button value (Want it to have 2 values!)

    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...
  12. JonathanG6SWJ

    Request syntax problem

    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...
  13. JonathanG6SWJ

    Updating a sql database

    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...
  14. JonathanG6SWJ

    Passing Variables to Subroutine.

    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...
  15. JonathanG6SWJ

    [DYNAMIC ASP PAGE (Use subroutine ?) ?

    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...
  16. JonathanG6SWJ

    Response.Write partail output of string

    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...
  17. JonathanG6SWJ

    Response.Write Syntax

    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...

Part and Inventory Search

Back
Top