G
Guest
I have a form with 4 key fields, depending upon the field value in 1st field
user can choose values in the 2nd field, then the combination of the 1st two
fields provides list of values for the 3rd and fourth fields.
If users enter the 1st field and then select the 2nd, 3rd and 4th. Later on if
they change their mind, they may goto the the 1st field and select
a different value. In that case, the rest of the 3 fields should be
initialized and
reselected.
I wrote a change event for 1st field and tried to assign null as follows -
Me.DepartmentNO = NULL
Me.SubdepartmentNO = NULL
Me.EmployeeNo = NULL
I got error, then I tried to assing value as Me.DepartmentNo =" "
still I get error.
How can I initialize fields?
Thanks for your help!
-Me
user can choose values in the 2nd field, then the combination of the 1st two
fields provides list of values for the 3rd and fourth fields.
If users enter the 1st field and then select the 2nd, 3rd and 4th. Later on if
they change their mind, they may goto the the 1st field and select
a different value. In that case, the rest of the 3 fields should be
initialized and
reselected.
I wrote a change event for 1st field and tried to assign null as follows -
Me.DepartmentNO = NULL
Me.SubdepartmentNO = NULL
Me.EmployeeNo = NULL
I got error, then I tried to assing value as Me.DepartmentNo =" "
still I get error.
How can I initialize fields?
Thanks for your help!
-Me