I am an inexperienced MS Access 2003 programmer. I have added 2 fields (combo boxes) to a form. A value is chosen for the first field. The second field chooses a value based on the selection from the first field. The second field doesn’t seem to be picking up this value. When I click on the down arrow, there are no selections.
Secondly, I want to be able to save the form with both of these fields being blank. However, when I try to do this, I get an error message: “You tried to assign a Null value to a variable that is not a Variant data type”. How do I allow the form to save when these 2 fields are null?
The row source for the second field is an sql statement:
SELECT tbl_Sub_Trend.ST_id, tbl_Sub_Trend.ST_name_e, tbl_Sub_Trend.ST_acronym_e
FROM tbl_Sub_Trend
WHERE (((tbl_Sub_Trend.ST_TRD_id)=[TRD_name_e].[Value]));
Thanks
Sean