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...
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+...
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
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...
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...
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...
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
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...
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...
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")
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 = '" &...
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")...
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...
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.