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!

Recent content by Kris912

  1. Kris912

    Incorrect Syntax

    I took another tact. I took the javascript out of the asp because it was syntactically impossible to make the titles links because the javascript needs the single brackets for it to work. So calling the script within a response.write was incompatible. I used the ASP to control the data and write...
  2. Kris912

    Incorrect Syntax

    Sheco, That's the point. I have typed it out in raw HTML and Javascript, and it works fine. When I run the script and view the source code this is what is happening: this code: response.Write "<span class=fieldlabel><a href=" & "javascript:ViewDetails(" & "'Project_details.asp?Title=" &...
  3. Kris912

    Incorrect Syntax

    I tried it and it "really!!" doesn't work with those spaces. This is driving me crazy!! When I close up the spaces I'm back to the original problem. :(
  4. Kris912

    Incorrect Syntax

    That still a little unclear about what you are telling me. response.Write "<span class=fieldlabel><a href=" & "javascript:ViewDetails(" & "'Project_details.asp?Title=" & title & "')" & " class=FormField>" & Title & "</a></span><br>" When I break it apart further it is still only giving me the...
  5. Kris912

    Incorrect Syntax

    Yes, the function is in an include file. And the function works fine when it is used apart from ASP. <a href="javascript:ViewDetails('Project_details.asp?Title=<% = rs("Title") %>');" class="FormField">View</a> When it is is an <a> tag by itself it works like a charm.
  6. Kris912

    Incorrect Syntax

    Also, I tried what DotNetGnat suggested and it was still truncating the title.
  7. Kris912

    Incorrect Syntax

    When I use this method: Title=rs("Title") sUrl = "javascript:ViewDetails('Project_details.asp?Title='" + Server.urlEncode(title) + "'" response.Write(sUrl) I am getting this response: ('Project_details.asp?Title='International+Paper+Blox+Cooling+Tower+and+Brine'javascript:ViewDetails It...
  8. Kris912

    Incorrect Syntax

    Hi, I am having trouble with the use of syntax in my ASP code. It is truncating the Title at the first blank space. The code when it is not involved in a response.write is as follows: <a href="javascript:ViewDetails('Project_details.asp?Title=<% = rs("Title") %>');" class="FormField">View</a>...
  9. Kris912

    Field truncation

    That did the Trick!! :) Do you have to have the single quotes when it is more than one word? I'm asking because I've used this dynamically before but it was a URL so there were no breaks in the line...so that did fine without single quotes. Thank you...!!!! Kris ;)
  10. Kris912

    Field truncation

    HI! I am loading distinct Names from a field in a Contractors table to populate a drop down menu, which when you make a choice it will ultimately populate the contractors field in the Projects table. The drop down menu is being populated fine, But when I choose an option and press submit it is...
  11. Kris912

    Need help with CDOSys Email Script

    That's the problem there is none. It just notes the line number which happens to be the .send line.
  12. Kris912

    Need help with CDOSys Email Script

    Hi, I am trying to use a CDOSys email script that is failing at the .send line. I am used to using ASP Email so I am not familiar with the quirks that come with CDOSys. Here is the script I am using... <% Const cdoSendUsingMethod = _...
  13. Kris912

    No value given for one or more required parameters.

    I am trying to query my DB with this statement: <% set connection = server.createobject("ADODB.Connection") connection.open session("DBConnString") Start = Date() This_Month = DateAdd("d", 30, Date()) SQL = "select * from Events Where Start_Date Between Start AND This_Month" set rs =...
  14. Kris912

    Calling a VB randomizer when a button is clicked

    That will do the trick! Thanks Again Candyman ;)
  15. Kris912

    Calling a VB randomizer when a button is clicked

    Hi Candyman, Thanks for the info. I think this will work although I don't want to redirect to another page using the function. I want to run the randomizer on click and than populate the text box with that number because the user is going to have to validate that number before being allowed to...

Part and Inventory Search

Back
Top