1 Replies - 397 Views - Last Post: 03 August 2018 - 07:05 AM Rate Topic: -----

#1 anjalivk10   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 7
  • Joined: 03-August 18

text file multiple records

Posted 03 August 2018 - 03:26 AM

can we store all employee data in text binary file ?
example
suppose we have multiple records of employee stored one below other
For every row first 5 characters code and the next 10 characters id number
How can I seek the employee whose code="ABCDE"
Is This A Good Question/Topic? 0
  • +

Replies To: text file multiple records

#2 modi123_1   User is offline

  • Suitor #2
  • member icon



Reputation: 15172
  • View blog
  • Posts: 60,735
  • Joined: 12-June 08

Re: text file multiple records

Posted 03 August 2018 - 07:05 AM

What do you mean "text binary file"? You certainly can write anything you want out to a text file and read it all back in...

As for searching - you would need to read all the records in to a collection and then search that.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1