Hi Rick
What do you mean "Cannot find the DE". It's there, just not in Intellisense. If you open a "Locals Window " and drill down you will see it in all its glory :) with all its properties.
I too was stumped - for a while.
Just remember that with the new DE you will need to set this property manually, after all it is a property. Then you can use the statement as shown in your message.
Go ahead. Be brave and do it.
I too am in the process of "CursorAdapting" my app. For non updatable tables used for lookups, I use a custom generic class and just change the properties to do what I want. For Editing tables, especially WIDE ones, I use Mark's class builder.
Cheers.
Bernard
>Hi all...
>
>Well the learning curve has been steep. I have a small VFP7 app which I am now converting to VFP8. I am starting to use the DEClass.
>
>In my old app there were several references in form codes to insure the form was always reverting back to the main table of a form. Generally it is a simple line:
>
>
SELECT (THISFORM.DataEnvironment.InitialSelectedAlias)
>
>With the new DEClass, this line is renedered useless. Looking at a form object, I cannot find any reference to the object 'DataEnvironment', so how do I reference the initialselectedalias in a form using a DEClass?
>
>TIA
>
>Ric