I have been fighting using option group/buttons for too long, so maybe someone can assist me.
I am using VFP6 (latest SP) & Codemine 6.1.21.
I have a "status" field in a DB that is either "A" for active or "T" for terminated. In my option group on a pageframe page, I have two buttons "Active" and "Terminated." I have set the Controlsource on the group to <alias>.status field.
I was assuming that if the status in the retrieved record was equal to "A" then the optActive button value = 1 and optTerm value = 0 and visa versa for status equalling "T." I also set the value of the option group opgStatus to either "0" for "active" or "1" for terminated.
Anyway, no buttons are getting set as I click on them and they do not go true (or are getting reset somewhere else). Since the buttons aren't getting a value then the field is not getting updated.
So what do you think.... all suggestions are welcome. TIA!
Bob Taylor
I am using VFP6 (latest SP) & Codemine 6.1.21.
I have a "status" field in a DB that is either "A" for active or "T" for terminated. In my option group on a pageframe page, I have two buttons "Active" and "Terminated." I have set the Controlsource on the group to <alias>.status field.
I was assuming that if the status in the retrieved record was equal to "A" then the optActive button value = 1 and optTerm value = 0 and visa versa for status equalling "T." I also set the value of the option group opgStatus to either "0" for "active" or "1" for terminated.
Anyway, no buttons are getting set as I click on them and they do not go true (or are getting reset somewhere else). Since the buttons aren't getting a value then the field is not getting updated.
So what do you think.... all suggestions are welcome. TIA!
Bob Taylor