I
il barbi
I'd like to write in VBA a very simple operation that is usually manually
performed on a form, say frmA (built on table tblA), with an embedded
subform, say sfrmB, related to form frmB (built on table tblB). FrmA and
sfrmB are connected via IdA being the counter of tblA and a field in tblB.
Now the operation is:
for i=1 to "Number of records of frmA"
'operations on controls of frmA
for k=1 to "Number of records of frmB related to record i of frmA"
'operations on controls of sfrmB
next k
next i
Now I tried to write the code by operating 1) on form A referred to as Me
and 2) on recordset Me.RecordsetClone but in both cases I was not able to
correctly write the inner loop on the records of smskB
I apologize since this seems to be a very trivial problem
someone can help?
il barbi
performed on a form, say frmA (built on table tblA), with an embedded
subform, say sfrmB, related to form frmB (built on table tblB). FrmA and
sfrmB are connected via IdA being the counter of tblA and a field in tblB.
Now the operation is:
for i=1 to "Number of records of frmA"
'operations on controls of frmA
for k=1 to "Number of records of frmB related to record i of frmA"
'operations on controls of sfrmB
next k
next i
Now I tried to write the code by operating 1) on form A referred to as Me
and 2) on recordset Me.RecordsetClone but in both cases I was not able to
correctly write the inner loop on the records of smskB
I apologize since this seems to be a very trivial problem
someone can help?
il barbi