Results 1 to 4 of 4
  1. #1
    Join Date
    May 2004
    Posts
    1

    Unanswered: Database field lookup in FoxPro 2.0 (MS-DOS)..

    Dear Sir,

    I would like to use Database field lookup in FoxPro 2.0 (MS-DOS)..

    Structure for database: C:\FOX\COUNTRY.DBF
    Number of data records: 140
    Date of last update : 05/05/2004
    Field Field Name Type Width Dec Index
    1 COUNTRY Character 20
    2 ID Numeric 2
    ** Total ** 23

    Data:-

    1. United States of America
    2. Uzbekistan
    3. Australia
    4. United Arab Emirates

    I would like to get listing of the countries from COUNTRY.DBF with @ SAY... GET. If I type "Au" (before press <enter>) it

    should locate Australia, or "United S" it should bring cursor to United States of America (just like a look-up combo box in

    MS-Access etc). If I press <enter> the current country name to store in the memory variable. If I type anything else which

    is not in the COUNTRY.DBF, it should store in the memory variable.

    TEST.PRG
    cname=space(30)
    @05,03 SAY "Country : "get cname
    read

    Please help me out with a sample code, for the above.

    Thanx n regds..

    Ashraf

  2. #2
    Join Date
    Jun 2004
    Posts
    7

    FoxPro ?

    How are FoxPro and Adabas related ?????

  3. #3
    Join Date
    Aug 2009
    Location
    India
    Posts
    1

    hey there im josh

    hey i just wanted to introduce myself :P

  4. #4
    Join Date
    Aug 2009
    Location
    Afghanistan
    Posts
    1

    Hey!...

    I would like to introduce myself and say hello
    not sure if this is the right concern to do so

Posting Permissions

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