Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


RE: read fixed length text file and add totals

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,36952
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> RE: read fixed length text file and add totals
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: <<   < prev  1 [2]
Login
Message << Older Topic   Newer Topic >>
 RE: read fixed length text file and add totals - 8/22/2006 3:18:20 AM   
  bigfatgreedykat

 

Posts: 34
Score: 0
Joined: 2/2/2006
Status: offline
thanks for all your help

BFGK

(in reply to ebgreen)
 
 
Post #: 21
 
 RE: read fixed length text file and add totals - 12/28/2006 7:22:05 PM   
  bigfatgreedykat

 

Posts: 34
Score: 0
Joined: 2/2/2006
Status: offline
Hello again all

Hope you all had a great xmas!

My text file has become more complicated!!!

I need to again read file but find total for specific numbers i.e there will be a number 748 how many are there???

In example below 748 starts at 8th character. I can see there are 6 in total.

Any ideas??? Appreciate any help. Thanks in advance!

010718000020061228000000000000000000000000000000000000000000000000000000000000000000000000
030718074820061228000000000071800013501626001021463000697001000000000000000000000000000100
030718074820061228000000000071800013501432004080869000601601000000000000000000000000000100
030718074820061228000000000071800013501532005040713000602601000000000000000000000000000100
030718074820061228000000000071300013501619007041786000601701000000000000000000000000000100
030718074820061228000000000071800015001226008016345000605401000000000000000000000000000100
030718074820061228000000000071800013501456008016404000602501000000000000000000000000000100
990718000020061228000000019868000001280000000000000000000000000000000000000000000000000000

(in reply to bigfatgreedykat)
 
 
Post #: 22
 
 RE: read fixed length text file and add totals - 1/2/2007 2:12:39 AM   
  ebgreen


Posts: 5246
Score: 31
Joined: 7/12/2005
Status: online
Ok, I need to understand the parameters of the issue. Will the number that you are counting the occurences of be known when the script runs? Will it always be at the same position in the line?

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to bigfatgreedykat)
 
 
Post #: 23
 
 
Page:  <<   < prev  1 [2]
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> RE: read fixed length text file and add totals Page: <<   < prev  1 [2]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts