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

    How do Logical Files Work

    I have a question about Logical Files and indexes. My Phyisical file with 200,000 records and has 70+ fields one of the fields is numeric. I create a SQL statement to view all the fields of the records where the numeric field is equal to 0. The SQL takes a while. I need to know how to speed...
  2. SDyke

    Date to Timestamp

    I have a field with a date 01/01/2009 datatype L I have a field with data type Z. I would like a update sql string that would fill in the timestamp field based on the value of the data field. The time can be 00:00:00.
  3. SDyke

    Replacing a Character in a String

    How can I replace the / in a string I cannot get: myString.replace(///g,"-") to work.
  4. SDyke

    Get First Day of Month

    How do I get the first day(date) of the month. This dosn't seem to work seeddate = new Date(); date = new Date() - seeddate.getDate();
  5. SDyke

    Deleteing Table Rows

    I have a static table with one row that contains header labels. I have javascript that dynamically added rows and populates the cells. Now I need a way to delete out the dynamically created rows so the next populate will start with only the one statis row. How do I Know how many rows to delete...
  6. SDyke

    Upload File Contents As Servlet Parameter

    I need to upload files from client to our network file system. The web app runs as a user that has authority to the network system. Is there a way to read the bytes of a client file into a parameter and then send that to the servlet so it can be processed(FileOutputStream)?
  7. SDyke

    Clearing an Input Text

    I want the user to be able to click a button an clear the contents of an input box. The input box os of the type file and does not respond to the document.getElementById('myBox').value = "";
  8. SDyke

    Printing to LPT1 Port

    Is there a way to print a ZPLII string to the LPT1 port? I want to print labels to a Zebra Label Printer. I have done this with Java class but it only works when ran from local web app host.
  9. SDyke

    Use Special Characters

    I have found that I can use special syntax to display special characters on my form. Example I can have a button with a label of plus-minus by using ± But if I have an input box on the form how can I use the button to insert the plus-minus symbol into my input string?
  10. SDyke

    CallBack values from a Servlet

    I am using jQuery to call a servlet to get some values to use in current page. What do I do at the srvlet side to send the values back to calling JavaScript Code?
  11. SDyke

    How to check if Valid

    How can I check to see if this is ok before running any othe code? var wshshell=new ActiveXObject("wscript.shell");
  12. SDyke

    Need help with Reports

    I have my web app developed now I need to be able for the client to be able to print formated reports in pdf format of the JSP content they see on the page. What do I need to do to make this happen?
  13. SDyke

    Help with For Function

    The following function generates an error at the 'for' ststement. The error is Expected';' function processReqChange(){ if(req.readyState == 4) { if(req.status == 200) { //alert("About to display"); var newValue = req.responseText; if(newValue == "None"){ alert("The...
  14. SDyke

    Listing Subfolder Names

    On my web page I have a list of static folder names to choose from. When the user selects an item from the list I need a way for a second list to populate with the names of the subfolders of the selection. Can this be done and if so then how?
  15. SDyke

    Output page display to a formated report

    After a user fills in an HTML form can this data be pushed out to a formated report that can be printed? Can someone give me some ideas on how this can be accomplished?
  16. SDyke

    Stripping out Carriage Returns

    What is the syntax for taking the Chr(13) and Chr(10) out of a string?
  17. SDyke

    Untermininated String Constant Error

    The following script causes a error I suppose because of the dash. What can I do to prevent the error and process correctly? Note everything works fine when I use a number that does not have a dash. This is the client side code. The JSF uses EL to determine the dynamic values. function...
  18. SDyke

    Havig Problems Referencing Controls on Page

    Why does the following syntax generate an error that control is null or not an object? document.form1.text3.value = "Steve";
  19. SDyke

    Reference an InputBox on a JSF

    I have javascript firing from an onclick event: the script: <script type="text/javascript"> function showAlert(cForm){ alert("test"); document.cForm.getElementById('text7').value = "C:\\testagain123.rtf" } I get the error that 'document.cForm' is not an object or is null. If I take out the...
  20. SDyke

    Connecting to iseries Database

    Is there a simple solution to connecting to a remote data base to verify a use input on an HTML form. This would neeed to be a DSN-less connection. My web app already contains Java classes that make connections for various data. However, this situation involves a user inputing a job number which...

Part and Inventory Search

Back
Top