Solved

Lookup From A Grid

Posted on 1997-04-15
2
215 Views
Last Modified: 2010-04-06
I have three Dbf Files.  One is the master called IngredientsCategories.  The main index is ING_CAT it is character and is 40 long.  The second file is called Ingredientinformation.  This is the one that is for my Grid.  The third file contains a field called ING_MSRE.  I wish to look up from my Grid (ING_MSRE) and find ING_MSRE in IngredientMsres.  I can't seem to get it to work.  So, the first file is the MAIN data the one and the second is the many.  It's a one to many link.  So how do I read from the third file from a Data Grid?  What Keys do I use?  I have tried the creating a lookup field with the editor, this still will not work for me.  I don't quite see about the master key and the lookup key and the return value? Thanks
0
Comment
Question by:Andrew Harrison
2 Comments
 
LVL 2

Accepted Solution

by:
javiertb earned 50 total points
ID: 1335405
You have to access the Fields Editor and create a new lookup field. Then you add this one to the DBGrid and whenever you step though this field column you'll have a list to chose from.
0
 

Author Comment

by:Andrew Harrison
ID: 1335406
Edited text of question
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Working this component WebCopy with proxy, help 3 84
Correct Component for Shopping Cart. 2 105
CheckListBox usage 3 58
MS Access from Delphi 31 28
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question