You are viewing this site as a guest. You can still ask questions and help others! Join our Dev2Dev IT Community to receive your own blog, share your knowledge, and much more.

Reading a Flat File using CI

1 reply [Last post]
Michael's picture
User offline. Last seen 12 years 14 weeks ago. Offline
Joined: 04/10/2008
Posts: 6

Hi Al,

How can we read a flat file using CI.......I know we use File Layout for App Engine but I dont know wat should we do with a CI ....Can anyone explain that...Thanks.

CompShack's picture
User offline. Last seen 6 years 1 week ago. Offline
Joined: 12/09/2007
Posts: 167
Use Excel to CI or File Layout

Hi Michael,

I could be wrong but I don't think you can read a flat file using CI. To read a flat file into the database you can do one of two things:

  1. Use the Excel to CI functionality. You will need to transform your flat file (i'm assuming it is a .txt or .dat format) to .csv format.
  2. Use an Application Engine to read your flat file using file layout and then call your CI to do what ever you want with the data already loaded.

Let us know how it goes!

Give back to the community and help it grow!
* Help with unanswered forum questions and issues
* Register or login to share your knowledge at your own blog