Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Gotcha #3
Message
De
30/01/1997 04:44:40
 
 
À
29/01/1997 19:59:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00018766
Message ID:
00018797
Vues:
38
>Here's another gotcha I have found in a project I moved from 3.0 to 5.0.
>
>In one of my form, I had a grid having a relation on a combined key.
>
>In 3.0, I was having STR(DEP.DEP_ID)+STR(TEMP.CAT_ID) but this is not working in 5.0 as it seems that multiple aliases in a relation is not supported anymore. No bug appeared but the full table appeared on the grid without any relationship.
>
>To make it work, I change the key to STR(DEP_ID)+STR(CAT_ID).

I thought a grid could only be based upon one table, or upon a view?

That would mean basing the relation on the key fields inthe view (without aliases) rather than the underlying table fields.

Or have I totally misunderstood what you were doing?


This merits further explanation I think...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform