Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CBizObjNoListMaintForm & defaut value on view's field
Message
De
24/07/2003 18:11:23
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, Californie, États-Unis
 
 
À
24/07/2003 15:23:52
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00812793
Message ID:
00813321
Vues:
8
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
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform