General information
Category:
Forms & Form designer
Environment versions
Network:
Windows 2008 Server
>>Right now the process is just in a program. I intend to re-write it as a class, but for the time being I thought of just using a wrapper to create a session based class, switch to its datasession and then run this program. This didn't work.
>>
>>I'm afraid that even if I create it as a class, I would still have the same problem with my form. Are you sure that making this program a class based on the session is going to work?
>
>In the session based class add a method that runs your processing prg. It'll run in the private DS of the class.
I exactly had the same problem as William has. In my case the problem was the grids of the form lost their databinding. Either I don't understand what you mean, Sergey, so forgive me then, or otherwise it seems to me it cannot be solved that way. Class or not. It seems VFP-behaviour to me. Switching to an other datasession means that when you come back to your original session the bindings have been lost. But maybe you mean something different and there is some solution after all.
Lennert
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