I want to get the user login name from LDAP, so I use SamAccountName, but keep getting the following error message.. I can get the value of the user's surname, givenname, name but not samAccountName. Can someone help?
Microsoft VBScript runtime error '800a01b6'
Object doesn't support this...
I have a dropdown box which contains a value of "Other", when a user selected this value, a textbox will be displayed so user can specify the other value. I would like to know how to do this without a postback. Can someone share the javascript with me??? Thanks.
Hi,
I would like to know how can I display a text box when a special value (e.g. "other") is selected from a dropdown box, so users can specify the value in the text box. Thanks.
Does anyone knows how to perform a mail merge from ASP. I would like to know how to pass a ADO recordset( a mailing list) to Word to perform a mail merge. Thanks in advance.
Hi,
I would like to know how to calculate the number of days between 2 admissions. Here is my records look like:
ClientID admissionDate DischargeDate
0001 1/1/2004 1/3/2004
0001 1/4/2004 1/10/2004
0001 1/20/2004
how can I make it looks...
I have a fixed length text file which contains orders and products information. I would like to import this text file and split it so order info will be imported to order table and product info will go to product table.
The text file layout is;
orderNum ProductNum ProductDesc...
Hello,
I am new to stored procedure and I have no idea how to do this.
I have a table like this:
client# ServiceDate GroupCode ServiceCode
--------------------------------------------------
123 2/2/2003 0100 411
123 2/3/2003 0231 356...
I have a crystal report (no subreport) that need to get tables from 2 different database. The crystal report is called from asp. I would like to know how to connect to 2 SQL database at runtime from the asp page. Thanks in advance.
I have an include file called SectionII.vbs which contains a sub called optTypeOfScreen_SetVisibility.
Here is the code:
<SCRIPT language="VBSCRIPT">
Sub optTypeOfScreen_SetVisibility(strFacilityType)
If strFacilityType="T" then
if...
I have an include file called SectionII.vbs which contains a sub called optTypeOfScreen_SetVisibility.
Here is the code:
<SCRIPT language="VBSCRIPT">
Sub optTypeOfScreen_SetVisibility(strFacilityType)
If strFacilityType="T" then
if...
I am getting the following message. Can someone tell me what is wrong???
error message : object doesn't support this property or method:'Document.Forms(...).cboRationaleForUse
Here is the subroutine which causes the error:
Sub cboRationaleForUseMessage(xnum)
If...
In my asp I have a include file (UserIDMaintenance.vbs) which contain a subroutine like this :
<SCRIPT language="VBSCRIPT">
Sub AddNewUser(strFacilityNo, strUserID)
.
.
.
End Sub
</SCRIPT>
Here is my asp:
<!--#Include File="UserIDMaintenance.vbs" -->
<FORM>...
I have a combo box on my asp. Does anyone know how to disable it, so they can't open the dropdown list. I tried "Disabled" and "ReadOnly=true'" and don't work. Please help. Thanks.
Hi,
I try to set the focus back to a field on which user enter an invalid value, but it doesn't work. Can anyone help??? Thanks. Here is my code :
Function Validate()
dim item
set myform=document.forms("frmCSB")
For each item in document.forms(0)...
I don't know how to pass a variable from a function to a form field, here is the code:
function Calc(){
var CS = parseFloat(IncDecForm.CurrentSalary.value)
var I = parseFloat(IncDecForm.IncrDecr.value)
var MxSal= IncDecForm.MaxSal.value
var MxSal= parseFloat(MxSal,10)
var NS = CS...
Hi,
I would like to find a way to do the following:
I have a page with 10 checkboxes(5 of them with prefix ckNeeds and 5 with prefix ckPlan) and 8 textbox(4 with prefix txtNeeds and 4 with prefix txtPlan). If the N/A(with prefix ckNeeds) checkbox is checked, I want the other 4 checkboxes...
Hi , I have a page that I want to assign a session variable that I created from the previous page to a variable called strAgency. I use the following code :
<SCRIPT LANGUAGE="JAVASCRIPT">
var strAgency = <%=Session("Agency")%>;
alert ("agency = " + strAgency)...
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.