Hello,
I have a field called 'TestGrade'in a subform called
'frmSelectByTestSub'that I need to assign a default value to, and the
value needs to be an integer value that is exactly the same as the
value in a field called 'Grade' that is also in the subform. The name
of the main form is 'frmSelectByTest'. The 'SourceObject' of the
subform and the subform name are the same.
'Grade' in the subform can be different for each student record
selected from a dropdown list in the main form.
I've tried to use the On_Current event of the subform to evaluate the
value of 'Grade', and set the Default property of 'TestGrade' = to
that value, but that did not work.
I tried to just express [Grade] right within the 'Default Value'
property of TestGrade, but that did not work either.
As I'm thinking about it, maybe the Default Value assignment needs to
take place during the _AfterUpdate or _OnChange event of the combo box
in the main form.
What should I do to have the Default Value of 'TestGrade' reflect the
Value of 'Grade'?
Thank you for your help!
CSDunn