D
DanWH
Hi, I'm working on developing a training database for work, and I have a
subform in datasheet view where the supervisor selects training topics from a
combo box.
What I want is a convienent way to always allow new records but not allow
changes in previous selections of that combo box. I've tried the lock and
enable properties but while they prohibit edits in the data I've already
chosen in that column, it doesn't let me select any new data to make a new
record. Conditional formatting doesn't work, and the setproperty macro to
selectively lock the field if it contains data always returns an error. I've
tried the main datasheet property to not allow edits, but that doesn't allow
me to update other fields on the same record that are referenced with the
training topic but need to be updated at a later time.
So basically when a combo box is used to select new records to add to a
subform datasheet, is it possible to always allow new selections while
prohibiting changing that particular field for previous records, but allow
editing of other fields that are in previous records.
Thanks
Dan
subform in datasheet view where the supervisor selects training topics from a
combo box.
What I want is a convienent way to always allow new records but not allow
changes in previous selections of that combo box. I've tried the lock and
enable properties but while they prohibit edits in the data I've already
chosen in that column, it doesn't let me select any new data to make a new
record. Conditional formatting doesn't work, and the setproperty macro to
selectively lock the field if it contains data always returns an error. I've
tried the main datasheet property to not allow edits, but that doesn't allow
me to update other fields on the same record that are referenced with the
training topic but need to be updated at a later time.
So basically when a combo box is used to select new records to add to a
subform datasheet, is it possible to always allow new selections while
prohibiting changing that particular field for previous records, but allow
editing of other fields that are in previous records.
Thanks
Dan