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 bkrike 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: *

  • Users: Kris912
  • Content: Threads
  • Order by date
  1. 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>...
  2. 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...
  3. 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 = _...
  4. 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 =...
  5. Kris912

    Calling a VB randomizer when a button is clicked

    Hi, I'm not sure how to call a VB function from a form. I want to generate a random number when a button in a form is clicked. This is what I have so far... The Function: <% Dim MyValue Function Randomize upperlimit = 5000000.0 lowerlimit = -300000.0 MyValue =Int((upperlimit -...
  6. Kris912

    Populating drop down options with a DB field

    I am trying to populate dropdown options in a form so the user can make the selection and when they hit submit the jobs the contractor is involved with will show in another section of the page. I have 13 records in the database. As of now it is populating the options with one record 13 times. I...
  7. Kris912

    select case structure syntax

    I am gettin an error "No value given for one or more required parameters" when using a select case structure to query the database based on the first letter in the title. I could have sworn it was working fine yesterday. Can someone tell me if this is sytactically correct? case "S" sql =...
  8. Kris912

    blank field and special characters validation

    I am trying to write a script that will validate one field in a form (Title). It can not be left blank and it can only be alphanumeric. I am using a javasript at the moment. It has worked before but now if I leave the title field blank it just ignores it. I am also trying to implement a script...
  9. Kris912

    querying access database

    I am trying to use an asp upload function. I am basing the image upload on the ID in the RS. ID = upload.form("ID") Title = replace(trim(Upload.form("Title")),"'","''") EventDate = Upload.form("EventDate") Description = replace(trim(Upload.form("Description")),"'","''")...
  10. Kris912

    Uploading images with an ASP script

    Hi, I am using an asp script to upload images and I am using the ID as the image name. I am using the same code on another site and it functions fine...I am stuck with this one. Here it is... Set Upload = Server.CreateObject("Persits.Upload") Upload.Save ("C:\Temp") Set File =...
  11. Kris912

    syntax help with sql statment

    I've always been confused when writing sql withing the ASP syntax parameters. Can someone help me with this statement? choice = request("choice") P_Status = request("P_Status) sql = "select * from Projects " sql = sql & "where ( title like & choice ) & " sql = sql & "and (P_Status =...

Part and Inventory Search

Back
Top