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 ) 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 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 I also post it at: http://database.webmasterfund.com/devarchived/77/22077-database-field-lookup-in-foxpro-2-0.html Post here or post at database.webmasterfund.com, don't email. If you feel you have to mail, revert my....
discuss database and field functions
The lookup wizard allows you to create a field that sources its data from a list of values of a field in another table or query.
Lookup field
No it is not false. Database fields do have field sizes and data types.No it is not false. Database fields do have field sizes and data types.No it is not false. Database fields do have field sizes and data types.No it is not false. Database fields do have field sizes and data types.No it is not false. Database fields do have field sizes and data types.No it is not false. Database fields do have field sizes and data types.No it is not false. Database fields do have field sizes and data types.No it is not false. Database fields do have field sizes and data types.No it is not false. Database fields do have field sizes and data types.No it is not false. Database fields do have field sizes and data types.No it is not false. Database fields do have field sizes and data types.
A field in a database is often identified by a unique field or column name. This field name serves as the identifier for that particular data attribute within the database table. Assigning distinct and meaningful field names helps organize and reference the data effectively within the database system.
Index field.
is where the properties in the field is unique
i key field is a field with with a key in the middle :)
Choosing the correct field in database is very important. It is because the correct field can give you the correct value.
What characteristics could a database field have, such as data type, field name, field size and field format?
field, record, table, database
A database field name is a unique identifier for a particular piece of data within a database table. It helps to organize and distinguish different types of information stored in the database. Each field name typically corresponds to a specific attribute or characteristic of the data being stored.