I built a Parts Request form, and part of the form is the Approval process. This form sends an email message to the Requester indicating the decision. on My Supervisor form there are two radio buttons, one for approved and one for rejected.
Now my problem is, when reviewing the requests in the application, the decision is not always displayed. I have figured out that this is due to the form leaving the unchecked value null.
I have tried implicitly setting the opposing value to false. But this has not changed the form saving the value as null.
Here is the code that I am using.
private void sUP_APVRadioButton_CheckedChanged(object sender, EventArgs e)
{
sUP_REJRadioButton.Checked = false;
SupDec = "Supervisor Approved Request #" + requestRecordNumberLabel1.Text;
RouteAddress = PurchAuthUserName + Emaildomain;
CcAddress = user_NameLabel1.Text.Substring(6) + Emaildomain + DevEmail;
}
private void sUP_REJRadioButton_CheckedChanged(object sender, EventArgs e)
{
sUP_APVRadioButton.Checked = false;
SupDec = "Supervisor Rejected Request#" + requestRecordNumberLabel1.Text;
RouteAddress = user_NameLabel1.Text.Substring(6) + Emaildomain;
}
Am I missing something?
Thanks