reading from files and databases

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kavithagade
    New Member
    • Mar 2008
    • 1

    reading from files and databases

    i need to read chunk of text file, after reading that file i need to retrieve the data base on condition, there is no delimeter for splitting the text
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Originally posted by kavithagade
    i need to read chunk of text file, after reading that file i need to retrieve the data base on condition, there is no delimeter for splitting the text
    I really don't understand a single bit from your question. What do you mean by
    'on conditon' and what is the structure of your text if you don't have any delimeters.
    Is your data supposed to be split in pieces? Please elaborate.

    kind regards,

    Jos

    Comment

    • sukatoa
      Contributor
      • Nov 2007
      • 539

      #3
      Can you post that text file?

      after reading that file i need to retrieve the data base on condition,
      What data? from the textfile? or from another textfile base on what text are in your textfile( you have read )?

      Comment

      • BigDaddyLH
        Recognized Expert Top Contributor
        • Dec 2007
        • 1216

        #4
        Please remember to provide a meaningful Title for any threads started (see the FAQ entry Use a Good Thread Title).

        This helps to ensure that other members, and also the general public, will have a better chance of finding answers to any similar questions.

        MODERATOR

        Comment

        • BigDaddyLH
          Recognized Expert Top Contributor
          • Dec 2007
          • 1216

          #5
          Originally posted by kavithagade
          i need to read chunk of text file, after reading that file i need to retrieve the data base on condition, there is no delimeter for splitting the text
          Welcome to the forum! As you can see from other replies, your original post is confusing to the point that it makes no sense at all to us. One of the hardest things to learn when learning to program, and it's funny since it has nothing to do with programming, is to learn how to ask a question; how to express yourself clearly.

          Start from the beginning and try again. I suggest you use short examples. Give a short example of the text you would read from the file; give an example of how you would use that to form a condition to retrieve data from a database; give an example of the results you would expect; give an example of this delimiter issue; give examples!

          Comment

          Working...