It's still a kludge. In my case this is only for display purposes, so I like textbox and my solution better.
Thanks, I may use this idea in a future.
>Hi Nadya,
>
>How about using a combo. It could be based on a simple array like:
>
>Public Array yesnoarray(2,2)
>yesnoarray(1,1)="Yes"
>yesnoarray(2,1)="No"
>yesnoarray(1,2)="1"
>yesnoarray(2,2)="0"
>
>I'm using the above array to pass through a boolean to a postgres table, so you colud try to change the 1 to .T. and the 0 to .F. The array could be placed in either the load or init event of your form. Other combo properties are:
>
>
>BoundColumn 2
>BoundTo .T.
>ControlSource Your_table_field
>Number of Elements 4
>Row source yesnoarray
>RowSourceType 5 - array
>
>
>Do not forget to release yesnoarray when when the form is closed.
If it's not broken, fix it until it is.
My Blog