>>When I access my DE and click on the property for a cursor I can see than I have the ResetToDefault() method.
>>
>>But, when I try to do this from my Load() event, I can an error saying "Property does not have a default value".
>>
>>ThisForm.DataEnvironment.Cursor1.ResetToDefault('Database')
>
>It seems that ResetToDefault() only works when the object is based on a class. So, why is there a ResetToDefault() in the DE for each cursor?
because the DE is a class as well so if you created a subclass of a DE
or rather of a Cursor class you can use the resettodefault or the dodefault()
like any other class
Arnon
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only