Solved

Master-Detail with dbase tables

Posted on 1997-08-05
1
301 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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 create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
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 …

867 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now