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

    object not loading in excel

    I wonder if someone can help me, I have a user form that has an date time picker on it and this is working fine on some machines but not others. All the machines are running XP and Office 2000 yet two of them will not load the form and giving either a run time error run-time error'-21437352573...
  2. optjco

    convert text to LCase

    I am using SYSGetUserName to populate a label on a form with the appropiate username however this could be in one of three different cases i.e. JBloggs jbloggs JBLOGGS I would like to be able to convert the name to lowercase at all times This is how I populate the label now...
  3. optjco

    Streamlining code

    Hi everyone, I have inherited a spreadsheet that is pretty much controlled via VBA, it contains several forms, on one of the forms there is code so that if certain people are using it then they can do more than the ordinary user however it is quite long and cumbersome to administer and i was...
  4. optjco

    position image with javascript code

    I found this piece of javascript code on the net which scrolls through images, i have tried to add top & left co-ordinates to it so I could move the position of the images however it does not seem to work could someone have a quick look to see what I am doing wrong Please This is the original...
  5. optjco

    what can go into an include page

    I am starting to look at includes to use in my pages on our intranet and i was wondering whether it is possible to use different types of code in a single page such as vbscript functions javascript functions CSS etc. Regards Olly
  6. optjco

    Take a timestamp and convert to date

    I have this function that is converting a timestamp into a date however i can only get it to show the date as this Jan 11 2005 18:11:00 But I Need to format date into this Tue Jan 11 2005 6:11pm Here is the function function timestamp_to_date(ts) if ts<>"" and isnumeric(ts) then...
  7. optjco

    refresh 2 frames from submit

    I have frameset with 3 frames topFrame leftFrame mainFrame in my left frame i have links to several topic pages this also shows the count of topics, the topic pages shows in the mainFrame and the user can enter new topics, when the user submits a new topic he is then redirected to an empty...
  8. optjco

    post to 2 Iframes

    I posted this in the ASP forum and it was suggested that this forum would be the best place to try I have 2 iFrames in table cells on one form. myIframe & myIframe1 can i get the form to post to both Iframes, this is the form code i have at the moment <form action="" method="post"...
  9. optjco

    post to 2 Iframes

    I have 2 iFrames in table cells on one form. myIframe & myIframe1 can i get the form to post to both Iframes, this is the form code i have at the moment <form action="" method="post" name="frmPrint" target="myIframe" id="frmPrint"> I have tried this but it does not work <form action=""...
  10. optjco

    call data from another page

    I have some web pages that are displayed in three frames Top Main Bottom In the top frame i have a form with a listbox and a submit button, when the user hits submit it refreshs the data in the main frame with data from a recordset. I also have a textfield ("txtPrint") which gets the data from...
  11. optjco

    internet explorer has trouble with an add on

    I am developing a company intranet and I have a web page that gets pdf file names from a folder and then when the user clicks the file name it opens up the PDF in a new window On my machine what is happening is that once the new window is open and the PDF is displayed if I then close that window...
  12. optjco

    open page in pop up window

    I have a page that is made up of three frames Top,Main and Bottom. The following code is in a page that shows in the bottom frame and when the file name is clicked it goes away and opens a PDF however it is opening the page in the bottom frame. could someone explain how I could get the PDF to...
  13. optjco

    show dynamic text string &quot;true&quot; as &quot;yes&quot; or &quot;no&quot;

    I am putting some dynamic text onto a web page where the value is displayed as either "true" or "false. Is it possible to show this as either "yes" or "no" I tried an if else statement but got an error telling me that the data could not be updated ?? Regards Olly
  14. optjco

    refresh page and update data based on dropdown value

    I have a form that has a dropdown list and several textfields that are all from a DB, is it possible that once the user has selected an ID number from the dropdown that I can get the page to refresh with the relevant data ?? Regards Olly
  15. optjco

    update textfield value when clicking submit button

    Is it possible to change the value of a textfield when a submit button is clicked to update a table Regards Olly
  16. optjco

    update text field based on value in another text field

    Can I update the value in a textfield by checking the value in another field. I have the code below but I get an internal error message when i try to run the page <% txtCause=Request.Form("txtCause") txtStatus=Request.Form("txtStatus") If txtCause.value > 0 Then txtStatus = "Pending" Else...
  17. optjco

    code that only works with certain elements

    Hi, I have this code for disabling a submit button on an ASP page however although I only call it from one element if any of the other elements are empty then i cannot enable the button. Could someone tell me if it is possible to only action the code from one textfield Please <script...
  18. optjco

    Populate text field from dropdown list

    I wonder if someone can help me I have a table in a DB with two fields (Supplier & SupplierID. In my ASP page I am populating a dropdown list with names from the Supplier field, what I would like to do is automatically populate a text field with the corresponding SupplierID value, for example...
  19. optjco

    put folder list into either a table or perhaps columns

    With the help of a couple of "Guru's" on here(seethread333-939286) I have managed to get a list of file names for PDF's from a folder and then open the PDf from there. Is there anyway i could put these filenames into a table or perhaps multiple columns across the page. the reason I ask is that...
  20. optjco

    extract filenames and open file

    I wonder if someone can help me I have the code shown below which extracts the file names from a certain folder all the file names refer to PDF's. What I am trying to do is to list the file names and then then click on any one of them to open it. Any help would be appreciated [code] <%...

Part and Inventory Search

Back
Top