Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using legacy tables
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00183107
Message ID:
00183233
Views:
24
>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', '')
dodefault()

This will ensure that your business object will be able to find the correct table.

Regards,

Jim Weil
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform