Default value on combo box: I don't know why that is not working. I have an entity (not static) that holds a list of case types: "Criminal, Family, Appeal, Homicide, etc..."
On a new case, I want the combo box in the case entity bound to this casetype list to show "Criminal" as a default.
Since the casetype attribute in the "Case" entity is an identifier to the casetype entity list, in the preparation, I fetch the proper ID for the "Criminal" casetype value (it's id could be different for each customer). Then, assign the id value to the CaseForm.Record.Case.Type attribute.
I figure this should work, but it doesn't. The casetype combo box still shows the first value on its list.
What am I doing wrong?
Note, I read the forums on other questions about similar issues, but none of them is really about assigning a default value for a brand new case.
Thanks.
On a new case, I want the combo box in the case entity bound to this casetype list to show "Criminal" as a default.
Since the casetype attribute in the "Case" entity is an identifier to the casetype entity list, in the preparation, I fetch the proper ID for the "Criminal" casetype value (it's id could be different for each customer). Then, assign the id value to the CaseForm.Record.Case.Type attribute.
I figure this should work, but it doesn't. The casetype combo box still shows the first value on its list.
What am I doing wrong?
Note, I read the forums on other questions about similar issues, but none of them is really about assigning a default value for a brand new case.
Thanks.