G
Guest
My database consists of Stewards who can be members of committees. I have a
committee table which is ID, Type, and Title , plus a StewardsComm table
which has SCID, StewardID, CommID, plus a few "detail" fields eg date of
joining, role etc.
I have a form with the stewards' details as the main form and a continuous
subfrom (based on StewardsComm) to add them onto committees.
Since the committees are divided into subgroups of types I have a first
combo box that lists the committee types and then I want to second combo to
be limited to the titles within that type.
So on the after update of the first combo I have:
Me!Titlecbo = Null
Me!Titlecbo.Requery
However if I try to alter an existing record I get run time error 3331 - to
make changes to this fieldyou must first save the record.
If I try to add a new record then I get error 3162 - you tried to assign a
null value to a variable that is not a Variant data type.
I tried making the second combo unbound - but then of course it doesn't
store the data...
Any thoughts please
HelenJ
committee table which is ID, Type, and Title , plus a StewardsComm table
which has SCID, StewardID, CommID, plus a few "detail" fields eg date of
joining, role etc.
I have a form with the stewards' details as the main form and a continuous
subfrom (based on StewardsComm) to add them onto committees.
Since the committees are divided into subgroups of types I have a first
combo box that lists the committee types and then I want to second combo to
be limited to the titles within that type.
So on the after update of the first combo I have:
Me!Titlecbo = Null
Me!Titlecbo.Requery
However if I try to alter an existing record I get run time error 3331 - to
make changes to this fieldyou must first save the record.
If I try to add a new record then I get error 3162 - you tried to assign a
null value to a variable that is not a Variant data type.
I tried making the second combo unbound - but then of course it doesn't
store the data...
Any thoughts please
HelenJ