General information
Category:
Forms & Form designer
Thanks for your response, Barbara.
I'm thinking about this to see if it's worth creating a class, because I have this situation often in an app that I am moving to VFP.
Recently I too have been storing the entire caption in the field, but I still have many "grandfather" fields.
Alex
>As Trey has said, you can bind an option group to a character field. But what I often do is store the entire caption in that field instead of the first character. In cases where the captions for the choices are fairly short, this works well, otherwise, I do some kind of translation in code.
>
>Note: This only works if your program only runs in one language. I have an app that runs in multiple languages, so the captions change. In that case, I bind the option group to a numeric field and do the translation in code, otherwise, it's difficult to code a case statement based on the value of the field. (Although, I've since come up with a scheme that will handle it.)
Previous
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