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

    Hi I have a file with following

    Hi I have a file with following type rrcrds Field1 field 2...…...field7 Field1 field 2...…...field7 . . . Code 1111222233 Field1 field 2...…...field7 Field1 field 2...…...field7 . . . Code 111122347 Like after every few records the column total written with a code. Now I would like to write...
  2. visitnag

    comma function for Indian number system...

    Hi Is there any shorter way to use a comma separator for Indian Number system? its like ##,##,##,##,###.##. I have written the following code but its quite lengthy... function comma(n){ if(length(n) <= 3 ){ n = n}else if(length(n) == 4 ){ n = substr(n,1,1)","substr(n,2)}else...
  3. visitnag

    file availability getline way

    Hi, I am using getline to check whether input file is available or not. The following is working fine: Input file name: file<ym> read -p "Enter month : " ym awk 'BEGIN{ print getline < "file'$ym'" <0 ? "Not Available" : "Available" }' but when i use the variable within awk its not working...
  4. visitnag

    combo box entries problem

    Hi I have created a Form with few text fields attached to a xtable. I am taking a primary field value from ytable through a combo box. When I select a value through combo the relevant fields of the xtable are not populating. My aim is to check the xtable primary value through ytable to...
  5. visitnag

    summing up column total and print it beside the last record..

    Hi I have a file like 2291, 382718.00 2291, 19338.00 2291, 9073.00 2292, 4707.00 2293, 495847.00 2293, 157310.00 2293, 63582.00 2293, 100059.00 2293, 2843.00 2293, 58597.00 2293, 14836.00 2293, 24204.00 I want to sum the second column and place...

Part and Inventory Search

Back
Top