code help

V

VickeyBG

This code;
Me.Parent!SecondSubformCONTROLName!BoxName = Me!BoxName

was suppose to have the first subform field called: Box
Name, going to the second subform automatically also
called called: Box Name.

Our first subform is called: BOX TABLE subform
Our second subform is called: CONTENTS TABLE subform
Our field name is called: Box Name

Question: In the code given to us , where does the BOX
TABLE subform, CONTENTS TABLE subform, and Box Name go?

Thanks!

********************************************************
put the code in the first subform, in BoxName's
AfterUpdate event, as

Me.Parent!SecondSubformCONTROLName!BoxName = Me!BoxName

make sure you use the subform CONTROL name, rather than
the name of the
subform. to get the right name, open the main form in
design view. click
once on the 2nd subform *in the main form*, to select it.
in the Properties
box, click the Other tab, and look at the Name property.

hth


message
news:[email protected]...
 
M

Matthias Klaey

This code;
Me.Parent!SecondSubformCONTROLName!BoxName = Me!BoxName

was suppose to have the first subform field called: Box
Name, going to the second subform automatically also
called called: Box Name.
[...]

Try:

Me.Parent!SecondSubformCONTROLName.Form!BoxName = Me!BoxName

HTH
Matthias Kläy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top