Results 1 to 2 of 2

Thread: Controlling length of record counter

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2006
    Posts
    9

    Cool Controlling length of record counter

    Hi -

    I am a C# newbie. I am building a file for a 3rd party vendor. The file requires a file trailer, which is 72 bytes long. At offset 41 for a length of 9, I need to insert the number of records in the file. How do I control the length of the record counter, inserting it to the record at the proper spot and for the proper length?

    Thanks for all help!

    David

  2. #2
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: Controlling length of record counter

    Open the file with a file stream and use the filestream's Position property to set where the data is written to.
    I don't live here any more.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width