Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Custom object data session?
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00710978
Message ID:
00711037
Views:
9
Funny :) I should have read the whole thread before making my suggestions :)

Anyway, we also don't have any problems with SET DATASESSION command in our applications...


>LOL! I got 2 people suggesting this and one person saying it's unreliable and I shouldn't do it. :)
>
>The best idea I've seen so far is to use a different object for the properties as for the methods. I think I'm gonna run with that one. I can't spend all day just trying to get this one picklist populated.
>
>Thanks everyone for all of your help. I appreciate it.
>
>Michelle
>
>---------------------------------------------------------------------------------
>
>>Ok, I see. You can add a new method to your object SwitchDS. This method will save current DS and set DS to passed DS. In form's destroy you will call RestoreDS() method of this object.
>>
>>How about this idea?
>>
>---------------------------------------------------------------------------------
>
>>>The thing is that I wasn't _instansiating_ the object from the form at all. I was just calling it from there. It's a global object. That's what the problem was. But making it a local object makes it useless, so my only option is to give up on trying this n-tier thingy and going back to just talking to the data directly.
>
>---------------------------------------------------------------------------------
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform