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 Mike Lewis 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: lorca
  • Order by date
  1. lorca

    insert for each in request form

    Hi i have this bit of code Dim item For Each item in Request.Form Response.write "<input type=text name=FieldName value=" & item & ">" & vblf Response.write "<input type=text name=FieldValue value=" & Request.Form(item) & ">" & vblf Next which outputs all field names and their values onto a...
  2. lorca

    registering a dll as COM+

    Hello I've been asked to install a dll, from our software supplier as per below (see below). Never done anything with COM+ before, how can i go about this please ? i presume there are no security risks ? the dll is from a trusted supplier. My Services has COM+ event system started but COM+...
  3. lorca

    asp call stored procedure with optional parameters

    thanks to everyone - it is now working ok, i relaised the char field was causing problems because it was padding out with spaces, so i changed it in the SP and parameters append to varchar. thank you tony
  4. lorca

    asp call stored procedure with optional parameters

    thanks i did originally have my sp, using optional parameters as below, still no joy, does this look about right ? I will search google.......... thanks again /* ALL parameters are optional */ @RegNo char(10) = null, @Make varchar(50) = null, @Colour varchar(50) = null, @Location...
  5. lorca

    asp call stored procedure with optional parameters

    Hello I have a stored procedure below, which i call from an asp. all parameters are optional, so they may only fill out the varMake asp field for example. I do have this working for a simpler example for one parameter that is = as opposed to like, but this returns nothing ! any help...
  6. lorca

    find duplicates query

    Hi Borislav thanks yeah that seems to only return one customer. thanks anyway
  7. lorca

    include asp string in javascript alert

    thank you very much ! works a treat re. 3rd party software - not this one ! i guess you get what you pay for...............
  8. lorca

    include asp string in javascript alert

    don't know...............3rd party software, hence all the response.writes i have to do !
  9. lorca

    include asp string in javascript alert

    great thanks I am getting a similar problem now with Response.Write "<script>location.href = ctsURL("Summary.asp") & "&EnquiryID=" & Enquiry & "&target=Summary.asp?id2=" & request("id2")</script>" i put ""Summary.asp"" which seemed to sort that part but then i get invalid character for...
  10. lorca

    include asp string in javascript alert

    thank you everyone
  11. lorca

    include asp string in javascript alert

    still same error Microsoft VBScript compilation error '800a0409' Unterminated string constant /CCCu_PROCESSENQUIRY_AbanVehicles.ASP, line 724 Response.Write " <input type=""submit"" name=""SAVE"" onclick=""alert('<% =Enquiry ----------------------------^
  12. lorca

    include asp string in javascript alert

    thanks getting unterminated string constant error now Response.Write " <input type=submit name=SAVE onclick=""alert('<%=Enquiry%>')"" value=SAVE>
  13. lorca

    include asp string in javascript alert

    hello in my asp i have a variable called Enquiry, which holds a value. I'd like, on the onlick of the save button to return the Enquiry variable in an alert ? how can i ? thanks rob
  14. lorca

    find duplicates query

    example as is Surname, UPRN, CustomerID, datelastmodified Ainslie, 900012568, 2001567, 6/27/2006 2:51:27 PM Hughes, 900011774, 2001568, 6/27/2006 2:00:15 PM Roberts, 900001001, 2001500, 6/26/2006 1:00:00 PM Ainslie, 900012568, 2001567, 6/01/2006 06:00:00 AM so sorted by a.datelastmodified, b...
  15. lorca

    find duplicates query

    Hi I have this sql running which works ok, basially show potential duplicte customers by uprn and orders (DESC) by datelastmodified for the customer. problem is say a MR. SMITH is the first record (because somebody has just created him 2 minutes ago) his duplicate may have been created 2 months...
  16. lorca

    join/merge sql statements

    I have a SQL statement (i have a report in visual studio that creates a dataset) and calls this sqlstmt1 SELECT WARD_NAME, COUNT(*) AS CustomerCount, WARD_ID FROM dbo.vwLPGWards GROUP BY WARD_NAME, WARD_ID ORDER BY COUNT(*), WARD_NAME, WARD_ID this is based on a view (shown below) but the...
  17. lorca

    need to return scope_identity value as recordset value ?

    i've set the command object as a recordset, which now works ok - is this the recommended method ? set objRS = buscmd.Execute response.write objRS("TheNewID")
  18. lorca

    need to return scope_identity value as recordset value ?

    thanks - this is now working ok one last thing how can i read the scope-identity value from my SP ? i need to use it to update another table something like this..... thanks SQLstmtTemp = "UPDATE tblID set " & _ "DetailsID = " & cmd.Parameters("@NewId") & " " & _ "WHERE UniqueID = '" &...
  19. lorca

    need to return scope_identity value as recordset value ?

    found the problem - it was the text columns - i needed to append the parameters and specify the text columns as adlongvarchar buscmd.Parameters.append buscmd.createparameter("@Cat_2", adlongvarchar, adParamInput, len(objRS8("MyID"))) buscmd.Parameters.Item("@Cat_2").AppendChunk objRS8("MyID")...
  20. lorca

    need to return scope_identity value as recordset value ?

    thanks I have tried that but no joy. what i've done now is create a temp table with 2 columns ID (identity, 1,1 ) as primary key also and another column temp12 as varchar(50) my sp is CREATE PROCEDURE [insert_temp12_1] ( @temp12_2 [varchar](50)) AS SET NOCOUNT ON INSERT INTO...

Part and Inventory Search

Back
Top