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 Wanet Telecoms Ltd 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: tamnet
  • Order by date
  1. tamnet

    Create cleaner code than this

    Skip, Thanks for the help Regards Paul
  2. tamnet

    Create cleaner code than this

    Skip, here are the requirements to track new requests through the system in an effort to make sure every stage is completed on time. to this effect we have 7 stages to complete stage 0 = Initial Start Date stage 1 = 2 Working daysif it is a sample OR 3 working days if it is a design stage 2 = 3...
  3. tamnet

    Create cleaner code than this

    Guys, I have been asked to automate some data in a spreadsheet concerning dates. Basically what they want is to be able to select a date from a calendar which populates a cell and the other cells are populated with other dates based on varying spans i.e stage 1 = 3 days after selected date...
  4. tamnet

    ActiveX Calendar

    Is it possible to get an ActiveX Calendar that only shows week days ?? Regards Paul
  5. tamnet

    Remove empty spaces at the end of string

    It's OK I have found a solution from the following thread thread707-507216 Thanks to Zanthras Regards Paul
  6. tamnet

    Remove empty spaces at the end of string

    HI, I have inherited a workbook that imports data from a text file via a macro and the problem i have is that although the text in the columns reads OK it appears that empty spaces are imported. i.e the first column contains customer names and despite the length of the name the column is always...
  7. tamnet

    Validate question

    13sio, Thank You it works Great [2thumbsup] Regards Paul
  8. tamnet

    Validate question

    I have this code so that I can validate whether two input fields have values entered. <script language="JavaScript"> <!-- function validateform ( ) { valid = true; if ( document.frmPlanOrder.txtDate.value == "" ) { alert ( "Please Select a Date." )...
  9. tamnet

    query db from username

    DNG, thanks for the info however, becuase of my lack of knowledge concerning javascript i was struggling to create code to do the job so this is how i have overcome my problem. 1 On the home page i have set a textfield with the value of <%=ValImage%> and in my link i have placed the following...
  10. tamnet

    query db from username

    Guys, I have tried the code withour success however it is my fault and not yours as you might expect. Let me set the scene All of these pages are on our Company Intranet, when the user opens the browser they go to an initial 3 frame frameset containing the following pages default.htm...
  11. tamnet

    query db from username

    I am usin g the following code to get the username when users load the home page on our intranet. <% '***Start Function ValImage ValImage = (ucase(Request.ServerVariables("LOGON_USER"))) ValImage = Replace(ValImage, "SOMEWHERE-UK\","") '***End Function ValImage %> I then have a hidden field...
  12. tamnet

    split string of numbers and remove leading zeros

    PHV, Thank You "VAL" worked fine [2thumbsup][wink][2thumbsup][ Regards Paul
  13. tamnet

    split string of numbers and remove leading zeros

    I have an access db that is linked to a legacy system, one of the fields in the table has a string of 24 numers such as 008902920089019703650197 every four numbers represent a measure in millimetres i.e. the above string would be 0089 0292 0089 0197 0365 0197 I have managed to split the...
  14. tamnet

    change code for use in an include file

    Guys thanks for that, stars for you both Regards Paul
  15. tamnet

    change code for use in an include file

    I have the following code which determines the username login I then use this to restrict users to certain pages however, at the moment i have to place the code on every page that i need to use it on. Could someone tell me if it is possible to change it so that i could use it in an include page...
  16. tamnet

    pass two variables

    Guys, thank you both I have used Festor's solution but "stars" to you both Regards Paul
  17. tamnet

    pass two variables

    Hi, I have a asp page that updates multiple records to my DB I the want to redirect to another page to view the records with the updated data, I want to create one view page that will be accessed by 10 others depending on a Due Date and also a machine name however I cannot get the syntax of the...
  18. tamnet

    insert dynamic data based on checkbox value

    OK, sorted the first bit out it was me being dumb. onChange="showValues()" only changes the values when you move to another field. Silly me. changed it to onClick="showValues()" and it works fine. however i would be interested to know if i could merge the two functions into one if someone...
  19. tamnet

    insert dynamic data based on checkbox value

    OK, I have this working now with the following code <script language="JavaScript"> function showVal(){ if (document.frmDesignDetails.chkDA.checked){ document.frmDesignDetails.txtDABy.value ="<%=ValImage%>" document.frmDesignDetails.txtDAD.value ="<%=strUKDate%>" } else{...
  20. tamnet

    insert dynamic data based on checkbox value

    I am using the follwoing code to try and insert data into 2 text fields if a checkbox is "checked" otherwise the fields are blank, but i do not seem to be able to find the correct syntax to make it work ? <script language="JavaScript"> function showVal(){ if...

Part and Inventory Search

Back
Top