Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Complex form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01536677
Message ID:
01536681
Vues:
52
>Hi everybody,
>
>I have a very complex Item Edit form with many pages and lots of code. If I invoke an item for editing and when doing nothing press 'Duplicate' button I get for some items a change in GetFldState for several fields and for some items there is no change. I'm trying to figure out what exactly is making GetFldState to report 2 in these fields. I did identify the fields, but I don't see any code changing them.
>
>So, my question is - how can I set a breakpoint on the field value change for the particular form?
>
>Thanks in advance.
>
>----------
>I found that the option button class has this code in its Init method:
>
>if this.value = 0
>   this.value = 1
>endif
>
>Not sure who added such code and why, but this is the reason for strange behavior.

The "option button" controlsource is field of table?
if this.value = 0
   this.value = 1 && this row cause ProgramaticChange() and transfer value to source of controlsource
endif
MartinaJ
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform