Test if subdatasheet is expanded for a particular record

V

Vaughan

The SubdatasheetExpanded property would seem to give the default condition
for the subdatasheets in a form.

My form shows data for a Sales Order, with a subdatasheet showing the order
Line Items. Each Line Item can also be expanded to show the Bill of
Materials for the item in question, also a subdatasheet (effectively a
sub-subdatasheet for the main form).

Sometimes, I want to be able to print a report showing the Sales Order, its
Line Items, and certain of the Bills of Materials. I want to be able to pass
the expanded/collapsed property of the Bill of Materials from the form to the
report so that the property can be reproduced in the report. However, since
the SubdatasheetExpanded property seems to return only the default condition,
I can't find a way of returning the property for individual Line Items.

Can any of you esteemed experts suggest how I might do this?

Thanks in anticipation

Vaughan
 

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