Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using legacy tables
Message
De
02/02/1999 20:23:54
 
 
À
02/02/1999 20:22:59
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00183107
Message ID:
00183234
Vues:
14
>>I'm trying to use legacy tables with data environments (Mere Mortals Framework.) The problem I'm experiencing is that these tables do not have a unique field for views to refer back to. However, they have concatenated tags to identify uniqueness within the records. Is there any way to use data environment class directly with table instead of views?
>
>Hi Victor,
>
>I've run into this problem, too. What you can do is create a view based on a freetable, define two or more fields as unique keys, and your view should update correctly. Basing a view on freetable can create problems if you don't set a path in your dataenvironment. I use the OpenData method:
>
>loPath = createobj('cSet', 'path', 'your path') && sorry
>dodefault()
>
>This will ensure that your business object will be able to find the correct table.
>
>Regards,
>
>Jim Weil
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform