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

  1. visitnag

    Hi I have a file with following

    Thank you.... It worked perfectly. I have made some corrections to skip the line which contains the 'code' /^Code/ { code = $4 if (code != "") { file = "print/"code".txt"; for (i = 0; i <= n; i++) { print records[i] > file; } n = 0; } code = $4...
  2. 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...
  3. visitnag

    comma function for Indian number system...

    Thank you so much.
  4. visitnag

    comma function for Indian number system...

    Thank you very much...but...sorry! could you please explain the syntax. I have gone through string manipulation functions in gnu awk manual, but could not understand your syntax.
  5. 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...
  6. visitnag

    file availability getline way

    Thank you very much! Does this parenthesis syntax apply only when getline is used?
  7. 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...
  8. visitnag

    combo box entries problem

    ok. thank you
  9. visitnag

    combo box entries problem

    Yes, but actually ytable is a one time creation, yearly once. The xtable is dependent on users input (manually given data). We are having a query to create a dummy table by updating the ytable with xtable and also adding some(6) calculating fields. This dummy table is used for making some...
  10. visitnag

    combo box entries problem

    ( First of all I am very new to Access, please excuse) I am storing the values in xtable. The ytable is like a master table. I am restricting the xtable's entries to ytable primary field. The same field is a primary field in xtable also. To be specific: ytable fields are: id(primary)...
  11. 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...
  12. visitnag

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

    yes sir..i realised the a[x] after posting the querry. Thank you
  13. visitnag

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

    Thank you sir.. nice usage of arrays. Could you please provide any link of arrays examples?
  14. 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