Results 1 to 2 of 2

Thread: Flatfile Problem

  1. #1
    Join Date
    Oct 2005
    Posts
    39

    Unhappy Flatfile Problem

    I think this is a simple question for most of you but I just cant seem to get this right. Ive got a flatfile database, and can display all of the records. What i want to do though, is only to display records that are equal to a fieldname. For example i have the field, $county and i would like to only display the records with the $county field = somerset
    Please help me!
    Thanks,
    Craig

  2. #2
    Join Date
    Jan 2006
    Location
    Manchester England UK
    Posts
    225
    I'm not sure what language you are using but in the likes of ASP and ASPX you can connect to pretty much any datasource using ADO or ADO.net and then query your data using SQL.

    So to do what you want would require the apropriate text database driver and an SQL string like so :

    SELECT * FROM Countries.csv WHERE Country LIKE 'Somerset'

    If you are using ASP this article explains it.
    http://msdn.microsoft.com/library/de...ng03092004.asp

Similar Threads

  1. Internet Explorer Page Cannot Be Displayed Problem
    By y2ksrs in forum General Questions
    Replies: 0
    Last Post: 16 Sep 2005, 04:13 AM

Posting Permissions

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