Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Value_assign method
Message
De
08/10/2020 15:52:34
 
 
À
08/10/2020 09:59:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01676509
Message ID:
01676518
Vues:
34
>Have you any of you used value_assign() with view fields? It seems to really not work well with VFP.
>
>We had an app where I added value_assign() to handle some automatic field encryption, and in the process it broke a dozen other things or more. We wound up having to create a separate class for encryption and put value_assign there and not use it on the original class because places where read-only views are specified into those textbox controls, it was thinking the data had changed and was generating the error 2072 -- Cursor cannot be modified because it contains an unsaved record.
>
>Seems to me to be a bug in VFP, but one we've had to workaround regardless.
>
>Anybody else seen this?

Rick, there are a few warnings about Assign and Access methods on VFP's documentation. In one of them: Visual FoxPro does not support the Assign method for the Value property for controls [...].
----------------------------------
António Tavares Lopes
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform