Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Complex form
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01536677
Message ID:
01536681
Views:
51
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform