If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Adabas > Database field lookup in FoxPro 2.0 (MS-DOS)..

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-06-04, 09:16
Ashraf Mohd Ashraf Mohd is offline
Registered User
 
Join Date: May 2004
Posts: 1
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
Reply With Quote
  #2 (permalink)  
Old 06-16-04, 08:43
Aroldo Moreira Aroldo Moreira is offline
Registered User
 
Join Date: Jun 2004
Posts: 7
FoxPro ?

How are FoxPro and Adabas related ?????
Reply With Quote
  #3 (permalink)  
Old 08-27-09, 08:55
joshturner joshturner is offline
Registered User
 
Join Date: Aug 2009
Location: India
Posts: 1
hey there im josh

hey i just wanted to introduce myself :P
Reply With Quote
  #4 (permalink)  
Old 08-27-09, 10:52
kaksClicViaks kaksClicViaks is offline
Registered User
 
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
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On