General information
Category:
Forms & Form designer
>>>well its possible that when i click on a checkbox my controlsource isnt updated when the click event started?
>>>
>>>i have the controlsource updated when checkbox events are finished... :( exist ne way to fix this?
>>>
>>>thnks
>>
>>You can't store a logical field as the controlsource for a checkbox. Value for checkbox is 0,1 or 2. Use code in the valid method to update the field based on the results of the value
>>
>>0= False
>>1= True
>>2= Null
>
>Actually, you can store a logical field as the controlsource for a checkbox. You just need to set the value of the checkbox to .f. or .t. to begin with.
What about checkboxes in grids? Mine seem to update the table properly, and I have not assigned values to them. The Column.Bound = .T. and the controlsource for column and checkbox is a logical field. Of course, I do have my "crud in the grid" problem...
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only