Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BO without DE
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01013779
Message ID:
01014009
Views:
21
It worked. I just had to move my code from PostInitHook to Init itself. I'm wondering, though, if my DELoader is still sitting there. I know under normal circumstances it releases itself, but I don't know details here.

BTW, I aknowledged it worked by giving you your stars :)

>No, I do not have a BO with the lEnabled property set to .f. I did try it on a form and it didn't give me any errors.
>
>-Dan
>
>>Dan,
>>
>>I'll try that, thanks. Do you have such BO in your development? In my case I don't want to use Views or CA, but rather simple cursors.
>>
>>
>>>Nadya,
>>>
>>>You can try setting the lEnabled property of the bizobj to .f. The first thing the INIT method does is check this property and if it is .f. it will not run any of the INIT code.
>>>
>>>HTH
>>>
>>>-Dan
>>>
>>>>Hi everybody familiar with the Mere Mortals framework,
>>>>
>>>>Do you know, is it possible for business object to not have associated data environment? I have a BO, which is not manipulating data and used in a form for display purpose. I tried to remove DE, but the form started to error out.
>>>>
>>>>May be there is a property I can set? I was thinking about returning .f. from DELoader init and overriding Init method of BO, but I don't like the idea of doing such. May be there is a better solution.
>>>>
>>>>Thanks a lot in advance.
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