Information générale
Catégorie:
The Mere Mortals Framework
>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement