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: lucyc
  • Content: Threads
  • Order by date
  1. lucyc

    How to get SamAccountName in LDAP

    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...
  2. lucyc

    How to display textbox control when a value is selected from dropdown

    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.
  3. lucyc

    client side script

    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.
  4. lucyc

    Mail merge in ASP

    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.
  5. lucyc

    How To Automate Microsoft Word to Perform Mail Merge from Classic ASP

    HI, Any one know how to automate Microsoft Word to perform mail merge from classic asp?????
  6. lucyc

    Calculate days

    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...
  7. lucyc

    How to import one text file to multiple tables by using DTS

    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...
  8. lucyc

    How to use store procedure to create a new field ?

    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...
  9. lucyc

    connect two SQL database from asp

    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.
  10. lucyc

    create key or index on view

    Is it possible to create a key or index on view??? If it is then how and what is the syntax. Thanks.
  11. lucyc

    Type mismatch error

    I have an include file called SectionII.vbs which contains a sub called optTypeOfScreen_SetVisibility. Here is the code: <SCRIPT language=&quot;VBSCRIPT&quot;> Sub optTypeOfScreen_SetVisibility(strFacilityType) If strFacilityType=&quot;T&quot; then if...
  12. lucyc

    object required error

    I have an include file called SectionII.vbs which contains a sub called optTypeOfScreen_SetVisibility. Here is the code: <SCRIPT language=&quot;VBSCRIPT&quot;> Sub optTypeOfScreen_SetVisibility(strFacilityType) If strFacilityType=&quot;T&quot; then if...
  13. lucyc

    error message : object doesn't support this property or method...

    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...
  14. lucyc

    1/1/1900 problem

    How do you set null on a datetime data type field in SQL. If I have a date, it is ok, but if I leave it blank, it becomes 1/1/1900. Thanks in advance.
  15. lucyc

    error: cannot use parenthese when calling a sub

    In my asp I have a include file (UserIDMaintenance.vbs) which contain a subroutine like this : <SCRIPT language=&quot;VBSCRIPT&quot;> Sub AddNewUser(strFacilityNo, strUserID) . . . End Sub </SCRIPT> Here is my asp: <!--#Include File=&quot;UserIDMaintenance.vbs&quot; --> <FORM>...
  16. lucyc

    how to disable a combo box

    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 &quot;Disabled&quot; and &quot;ReadOnly=true'&quot; and don't work. Please help. Thanks.
  17. lucyc

    focus() doesn't work

    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(&quot;frmCSB&quot;) For each item in document.forms(0)...
  18. lucyc

    passing a variable from function to a form field

    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...
  19. lucyc

    javascript : uncheck checked box

    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...
  20. lucyc

    How to assign a session variable to a variable in javascript

    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=&quot;JAVASCRIPT&quot;> var strAgency = <%=Session(&quot;Agency&quot;)%>; alert (&quot;agency = &quot; + strAgency)...

Part and Inventory Search

Back
Top