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 Chris Miller 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: *

  1. lennitw

    ADODB Connection to Inventory.mdb

    Post the full code. It is probably how you call the sub. If it works when default page is in same DIR as DB, then the DB DIR has read/write so that shouldn't be a question.
  2. lennitw

    ADODB Connection to Inventory.mdb

    Try: Server.MapPath("..\Admin\Inventory.mdb") Suggestion: If you are going to access this DB from multiple pages in varying folders, you should create a single page (connect.asp) and put your connect string there. You would then include that file (<!--#include file="../Admin/connect.asp"-->)...
  3. lennitw

    Scrolling question

    Not exactly sure about what you have here, but if it is similar to what I've done, it was simply a matter of having the subform built off a query that sorts on a date descending.
  4. lennitw

    VBScript Problem - Increment variable

    On your suggestion, I've started a new thread. Thanks a million for the help.
  5. lennitw

    Cascade Changes in Form

    I have a page that requires a user to enter a start time/end time. The user then selects a job from a dropdown list. This will automatically populate the TimePerSqFT box. The user then enters a number in the SqFT box and this would be multiplied by TimePerSqFT and a start time/end time will...
  6. lennitw

    Batch file not working from module

    Thanks. That pause worked. it was hitting the wrong directory if opened via the db. I've hard coded the directory now and it works great.
  7. lennitw

    Batch file not working from module

    I have a batch file that says: echo on ftp -s:newservFTP.txt the newservFTP.txt says: open [ip removed for security] loginID password cd c:/data/dir1/dir2 binary put dataXP_backup.mdb y close quit My problem is that I can double click the .BAT file and it works perfectly, but if I use the...
  8. lennitw

    VBScript Problem - Increment variable

    I thought of that, but I don't know how many rows until they've stopped adding rows and I don't know how to make a simple code to account for however many rows are currently on the screen. :(
  9. lennitw

    VBScript Problem - Increment variable

    Thanks Lee! I got it working. It now works exactly as I had planned. I just wish there was a way to change a value in any of the fields and ALL the textboxes would immediately reflect the change. As it is written, once you enter the data and add a row, you have to start all over to change a...
  10. lennitw

    VBScript Problem - Increment variable

    Hey guys...thanks a million for the help. That trick did work, but I still have one stumbling block that I thought I could figure out once this last hurdle was jumped. What I need to do now is when the user fills out the for and clicks "Add Item" the form refreshes with the all previous data...
  11. lennitw

    VBScript Problem - Increment variable

    Thanks for the response Lee, but when I make the changes, I get an error "Object Expected". Here is the code as I changed it: ========= sub PopulateTextbox() dim x, scX, space_comp, taskid, minper, spacetype, newtime, checktime, varnum x = 0 varnum = 2 scX = 0...
  12. lennitw

    VBScript Problem - Increment variable

    Below is code I use to populate some text boxes. The problem is that when the user presses a button, a new row of text boxes appears and I need this code to point to them and leave the data in the previous row. For example, the way it is coded it will only work with the text box...
  13. lennitw

    VBScript Problem - Variable Increment

    Below is code I use to populate some text boxes. The problem is that when the user presses a button, a new row of text boxes appears and I need this code to point to them and leave the data in the previous row. For example, the way it is coded it will only work with the text box...

Part and Inventory Search

Back
Top