T
Tony
Hi All,
I have a form with a continuous sub-form. The sub-form is bound to a query
that at this point will display a variable number of records depending on
what the query returns, based on criteria selected in the main form. So
far, I've only enough data in the tables so that either 4 or 5 records are
returned. The footer has controls that display totals for the records in
the sub-form.
I've noticed that the footer is always positioned such that there is space
for a 5th record, even when the query returns only 4 records. Is there a
property I can set that will dynamically size the sub-form, depending on how
many records are returned, so that the footer controls are immediately under
the sub-form's detail controls? It currently looks something like this:
4 RECORDS RETURNED
ID1 1 2
ID2 2 3
ID3 3 4
ID4 4 5
Totals 10 14
5 RECORDS RETURNED
ID1 1 2
ID2 2 3
ID3 3 4
ID4 4 5
ID5 5 6
Totals 15 20
Thanks for any assistance,
Tony
I have a form with a continuous sub-form. The sub-form is bound to a query
that at this point will display a variable number of records depending on
what the query returns, based on criteria selected in the main form. So
far, I've only enough data in the tables so that either 4 or 5 records are
returned. The footer has controls that display totals for the records in
the sub-form.
I've noticed that the footer is always positioned such that there is space
for a 5th record, even when the query returns only 4 records. Is there a
property I can set that will dynamically size the sub-form, depending on how
many records are returned, so that the footer controls are immediately under
the sub-form's detail controls? It currently looks something like this:
4 RECORDS RETURNED
ID1 1 2
ID2 2 3
ID3 3 4
ID4 4 5
Totals 10 14
5 RECORDS RETURNED
ID1 1 2
ID2 2 3
ID3 3 4
ID4 4 5
ID5 5 6
Totals 15 20
Thanks for any assistance,
Tony