I think your problem is not on the name of the variable, it's on your JavaScript code, it will be wise if you use this on your form:
<form action="SetupPassword3.asp" name"frmProcess1" method="post" onSubmit = "return Verify();">
and in your function...
I know u are new to VB so:
1. Make a new project
2. Put a references to Microsoft Excel and to Activex Data Objects
3. Put a Datagrid Control named Datagrid1
4. Put a Command Button named Command1
5. Open the Code window and paste this code
Dim rs As New ADODB.Recordset
Private Sub...
If you are using Excel 2000 or newer, there is a easy way to do that if you use ADO.
If you get your information on an ADODB.Recordset (ie: named rs) and if you get and object making a reference for a Worksheet in Excel (ie: named excSheet) all you have to do is...
You are getting error because you need to put an alias to the subquery:
SELECT * FROM
(SELECT Date, Thing='Thing'
FROM tblBalancesAsAt
WHERE Date='4 June 2002'
UNION
SELECT Date, Thing='Thing'
FROM tblBalancesAsAt
WHERE Date='6 May 2002') atable
and it should do the job.
Just add one of the SQL Servers in the linked servers area of the one who is going to execute the Statement. Beware that this method is kinda slow when there is a slow network between them, but otherwise, it rules!!
If you use it in ASP, for better perfomance use adOpenStatic and if you are not going to change the data, make it ReadOnly in your LockType, your cursor location got nothing to do.
Believe me, is the better performance you will get besides a Firehose (ForwardOnly and ReadOnly)
sjravee is right, is a major security hazard when you execute progrmas (not pass the documents from the server to the client like the example of goatstudio) but if you really need to do it, by default IIS doesn't allow you to execute an Application. You have to fix a key in the registry to do...
Dont't use the onclick event of the "<tr>"
<tr>ONCLICK="location.href='ActionUpdatePayee.asp?Val=SomeVars</tr>
You better put a formal link:
<tr><a target='someframe' href='ActionUpdatePayee.asp?Val=SomeVars'>Some Text</a></tr>
and in the target attribute put the name of the...
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.