>I have begun to use a application object to store all of my framework procedures but
>have found that one of my procedures does not function from within an object.
>
>This procedure is the one that I call from forms that use a private datasession to
>set all those private datasession specific settings (i.e. set talk). I make a call
>to the procedure oApp.dessset(), but nothing happens. If I DO dessset from the
>form LOAD() method it works fine.
>
>I would really like to wrap this procedure into my application framework object. Is
>there a special way that I have to call it to make it work?
I'm not 100% sure but maybe when you run a method of oApp it uses the Default datasession rather than the form's. You might consider adding the Desset() method to your form class instead so that it uses the same datasession as the form.
I guess I would try to keep properties and methods that are specific to a certain class, within it's class structure rather than one common application object. Use your app object for global settings, object interaction etc.
-Doug-
Previous
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