Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CBizObjNoListMaintForm & defaut value on view's field
Message
From
24/07/2003 18:11:23
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, California, United States
 
 
To
24/07/2003 15:23:52
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00812793
Message ID:
00813321
Views:
7
This message has been marked as a message which has helped to the initial question of the thread.
Roberto,
Glad that worked.

As far as your alternative, cCursor.SetUnmodified() calls SETFLDSTATE() which -- unless this has been fixed in VFP8 -- has been known to be buggy at times.

Otherwise, I would say you have a good idea, and would probably implement it in the BizObj method where you set the field's default value in the view.
---J

>Jason,
>I did some testing and your solution works. Thank you!
>Let me ask you a final question regarding this and see if is posible to further improve it in an alternative way:
>Instead of using YourBizObj.HasUserChanges()is it posible to use the SETUNMODIFIED() data access method when the BO is just created so from then on it will behave as no default value was ever present?
>If so, where should it be called from?
>
>Regards,
>Roberto
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform