Solved

Master-Detail with dbase tables

Posted on 1997-08-05
1
304 Views
Last Modified: 2013-11-24
I have two dbase tables. One is the master table with two fields as index (i.e. client;work) and the other is the detail table with also the previous two fields as index. Th problem is that I can't find a way to connect this tables as  master-detail via this two key fields. I did this before but just with one field as index and it worked, but when I try to do it with the Field Link Designer I only can connect one field. If I set the MasterFields property to 'CLIENT;WORK' and then I firs open the master table and then the detail I get a 'Field index out of range' error. Please, I need help!

Thanks in advance
0
Comment
Question by:sime
1 Comment
 
LVL 2

Accepted Solution

by:
icampbe1 earned 100 total points
ID: 1340571
Although the documentation 'suggests' that you can, you really can't use two separate index fields like that.  You can however, create a dbase expression index using the combined fields (as long as they are character or string type).. this works but I'm not sure it will achieve exactly what you want.  
Another way to go, is to use one of the index fields for the master/slave relationship, and then use the 'OnFilterRecord' event to qualify the records on the other index.  This works as well.
Finally, you could use a Paradox table.

Cheers,
Ian C.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

The canonical version of this article is on my web site here: http://iconoun.com/articles/collisions/ A companion presentation is available here: http://iconoun.com/articles/collisions/Unicode_Presentation.pdf
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

792 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