T
TESA0_4
I have persued many threads and found code that has come close to solving my
problem but not quite all the way.
I have a sub form set to Continuous Form that displays the 'steps' that make
up a larger overall task. Where necessary, 'special conditions' need to be
defined for each 'step'. A 'step' can have none or many 'special conditions'
that are stored in a separate table that includes the 'stepID'. Each 'step'
record is uniquely identified and each 'special condition' record is uniquely
identified.
When users are drafting 'steps' and 'special conditions' they need to be
able to delete records; however, they must be prevented from deleting a
'step' if it has related 'special conditions'.
I have a delete button on the subform for each 'step' but my current coding
only manages to delete EVERY 'step' record that does not have 'special
conditions'. I only want to delete one specific 'step' record if there are no
related 'special conditions'.
Can anyone help me out? Thank you in anticipation.
problem but not quite all the way.
I have a sub form set to Continuous Form that displays the 'steps' that make
up a larger overall task. Where necessary, 'special conditions' need to be
defined for each 'step'. A 'step' can have none or many 'special conditions'
that are stored in a separate table that includes the 'stepID'. Each 'step'
record is uniquely identified and each 'special condition' record is uniquely
identified.
When users are drafting 'steps' and 'special conditions' they need to be
able to delete records; however, they must be prevented from deleting a
'step' if it has related 'special conditions'.
I have a delete button on the subform for each 'step' but my current coding
only manages to delete EVERY 'step' record that does not have 'special
conditions'. I only want to delete one specific 'step' record if there are no
related 'special conditions'.
Can anyone help me out? Thank you in anticipation.