Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
3 tables report prob. in Fox Fire
Message
De
28/07/1997 15:15:37
 
 
À
28/07/1997 03:39:01
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordanie
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00041905
Message ID:
00041990
Vues:
29
>I have 3 tables
>
>name having names of persons
>address having addresses of persons
>contact having contact nos. of persons
>
>name is parent which is related with address by code & it is also related with contact by code.
>
>Its one parent and 2 childs.
>
>I want simply a report like this :-
>
>name contact1 address1
>name contact2 address2
>
>I have one record in name, 2 in contact and 2 in address, the right result should come as 2 records
>
>instead it is giving me four records, contact nos. and address are getting repeated.
>
>This prob. I have already asked here when I was doing this thing through SQL & was not able to get the solution. So, I tried FoxFire and .... Result is same..


AFAIK, I don't think this a problem of the report tool but rather that your SQL statement omits something. When using multiple tables in a SELECT statement you must be careful to specify the needed filters in the WHEN clause. Otherwise you'll get a cross product of every records of every tables.


Claude.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform