Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting a relationship in the dataenvironment
Message
De
06/08/2002 21:25:03
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
06/08/2002 21:10:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00686836
Message ID:
00686843
Vues:
34
>Hello group,
>
>Still learning about forms for multiple tables. I have remote views to databases in SQL 7.O in VFP 6.0. I placed an unupdatable view called vheaders and an updatable table called vstufind that are related by the ident field. I tried everything I could think of to form a join or relationship between the two views but nothing happened. Is it possible to join two views in the dataenvironment window?
>
>Thanks
>Jim

I don't think so. I think this sort of relation requires a permanent index, and views don't have such a thing.

You can create a temporary index, and set the relation later.

Or you can use another solution - especially, using a parameterized view: the second table depends on a parameter from the first view. In this case, the data should not be initially loaded, but the p-view should be refreshed every time you move to another "parent" record.

HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform