Hi... I have fields on a form, that I want to be pre-filled in depending on the setting of a radio button.
In the code for the interactivechange event of the checkbox, I've got:
THISFORM.txtBoxFoo.VALUE='3'
Depending on the radio button setting, the value will change. These display nicely and change appropriately as the radio buttons are selected.
However, now when the user goes through the form, with the tab key, the value changes to a 0, ie. the desired default value is no longer displayed.
If I change the default value to an integer, the textbox displays 'xxx'
The underlying view field is an integer. The fiels are on a form class, formdatachildcustom.
I must be missing something here...
I'm using v7.1.02 CodeMine, with VFP 8.0 (without the service pack).
-- Larry Keyes
Remember only You can prevent Gray Goo. Never release nanobot assembers without replication limiting code.