how to explore many tables
Posted: Wed May 05, 2010 6:58 pm
Hi friends,
I need your help to understand which is the best way or approach to explore concurrently some tables.
I have this pattern tables (limited to fields that are correlated with each other):
Tab1.FieldN = Id_Code => Primary Key
Tab2.FieldX = Id_Code => Indexed but not Primary Key
Tab3.FieldY = Id_Code => Indexed but not Primary Key
Where Id_Code is the same value: typical example of a relationship of one to many!
one Tab1.Record to many Tab2.Records
one Tab1.Record to many Tab3.Records
With the Xbase language, I think I can use two alternative:
A) DBSETRELATION or B) FILTER
My problem is: how can I scan from the beginning to the end of Tab1 and concurrently scan all related records on both Tab2 and Tab3?
Many thanks in advanced
I need your help to understand which is the best way or approach to explore concurrently some tables.
I have this pattern tables (limited to fields that are correlated with each other):
Tab1.FieldN = Id_Code => Primary Key
Tab2.FieldX = Id_Code => Indexed but not Primary Key
Tab3.FieldY = Id_Code => Indexed but not Primary Key
Where Id_Code is the same value: typical example of a relationship of one to many!
one Tab1.Record to many Tab2.Records
one Tab1.Record to many Tab3.Records
With the Xbase language, I think I can use two alternative:
A) DBSETRELATION or B) FILTER
My problem is: how can I scan from the beginning to the end of Tab1 and concurrently scan all related records on both Tab2 and Tab3?
Many thanks in advanced
