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 Mike Lewis 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: arravalli12
  • Order by date
  1. arravalli12

    Shell script: File watcher

    Thanks for your help!
  2. arravalli12

    Shell script: File watcher

    Hi, I am trying to execute this script...but I am getting an error saying: startinformsh_fw.ksh: line 38: syntax error: unexpected end of file I am pasting the script here: #!/bin/ksh if [ "$#" != "3" ] then echo "Usage: $0 <file_name> <poll_interval_in_sec> <minimum size in bytes>" exit 1...
  3. arravalli12

    user id

    I am writing an application which inserts / updates the page. This works fine. Now I am asked to put the name in data base the nt user id who updates or inserts the page. That means I will have to grab nt user id. Can any one tell me how to grab this user id? Thanks, Arra
  4. arravalli12

    how to format

    I do not have separate fields in my table to show they are mixed or red or etc. In that case it would have been little simpler. Here I am trying to hold them into variable using like operator but then the program is becoming very longer and not showing what I want to display. Any iideas will be...
  5. arravalli12

    how to format

    In my asp page, I have this query: select name, count(name)as cnt from WineClubSubscriptions where status = 'w' group by name order by name and this is dispalyed in table as name and quantity. Wine Club Discovery Mixed Every Other Month...
  6. arravalli12

    rename existing file with current date...

    Thanks longhair and PHV for real quick help and learning. You both deserve stars.
  7. arravalli12

    rename existing file with current date...

    Thanks longhair for quick reply and appreciate the code. I need to rename my existing Customers.csv file in shared G drive (from Customers.csv to Customers-2005_12_14.csv). For this I may need to use fso.MoveFile command. I have never used this. Can you help me out. Thanks
  8. arravalli12

    rename existing file with current date...

    I have written a code that copies from my shared drive and copies that file to my local drive. my existing code is like: Set objFSO = CreateObject("Scripting.FileSystemObject") If objFSO.FileExists("C:\Documents and Settings\moparikh\Desktop\test1.csv") Then objFSO.DeleteFile "C:\Documents...
  9. arravalli12

    export...

    Thanks for that link. That solved my problem.
  10. arravalli12

    export...

    Thanks. Moved the columns to report header but having same problems.. Any other suggestions?
  11. arravalli12

    export...

    I have a report which am exporting in csv format. The problem I have is I am getting the column name of page header on each line on CSV file instead of showing as Column heading. Can any one help me how to fix this?
  12. arravalli12

    hidden field.

    Thanks for the reply. I used cookies instead of session and that worked. Sometimes session is not supported by our server for security reason. Thanks
  13. arravalli12

    hidden field.

    In my update application, I am passing nme as hidden field which is nothing but recordset of field name. To make sure that update is not creating duplicate record, I created another recordset2. <% Dim Recordset2 Dim Recordset2_numRows Set Recordset2 = Server.CreateObject("ADODB.Recordset")...
  14. arravalli12

    text box values to be prepopulated

    Thanks for the reply. I have used replace function and works fine. fName =trim(Request.form("txtDesc")) fName =replace(fName," ","") Also used in html <select name="ext"> <option value=".doc"<% if (request.form("ext")) = ".doc" then %> Selected<% end if %>>document...
  15. arravalli12

    text box values to be prepopulated

    I had created application and was working fine.This application has two textboxes. One for file description and other for file name. Now the user is making mistakes in naming the file. He/She is supposed to keep the same name as File description but name will not have any spaces. Now I have...
  16. arravalli12

    windows explorer

    My computer ( windows 2000) hangs when I try to open and navigate windows explorer. This does not happen if I navigate by going to my computer. This happened after I removed some temp files. I am not sure is it becos of that or some other. When I restored all temp files from recycle bin -...
  17. arravalli12

    date error..

    Thanks for all the help. Finally this code worked: if (DateDiff("d",st_dte,expr_dte)< 1) then MM_abortEdit = true emsg(e) = "start date cannot be greater than expiration date" e = e + 1 end if
  18. arravalli12

    date error..

    m using this code: expr_dte1 = FormatDateTime(expr_dte1,0) 'response.write expr_dte1 st_dte1 = FormatDateTime(st_dte1,0) 'response.write st_dte1 if expr_dte1 < st_dte1 then MM_abortEdit = true emsg(e) = "start date cannot be greater than expiration date" e = e + 1 end if %> I...
  19. arravalli12

    date error..

    how to check start date is greater than end date and display the error message. I am entering date in text box for start date and in anothet text box, end date. Thanks
  20. arravalli12

    update problem help...

    I appreciate your answer. I told my DBA to have an autogenerated number but he is reluctant to do that. I can update all fields except code. This code can have more than one record so it cannot be made as primary key. Ideally promotion # or counter # is perfect but he does not want. Any other...

Part and Inventory Search

Back
Top