Link to home
Start Free TrialLog in
Avatar of mcarollo1
mcarollo1

asked on

Variable Length SubForm

Is there a way to have a variable length subform append its records in multiple columns, rather than just vertically?
Avatar of hotbudare
hotbudare

No, as far as I know, you can't.
There might be a workaround if the maximum number of records is known. Let us know if that's the case.
Avatar of mcarollo1

ASKER

The maximum number of records can be assumed.  ex. I know there will never be more than 12.
This can be "tricked" in various ways. One would be to create twelve subforms and make them visible when there is data. Another way could be adding columns in a datasheet subform.
I'm just curious why you want to go horizontally iso "unlimited" vertically....

Nic;o)
can you expand on the 12 subforms idea?
For this easiest will be to have a sequence number (1-12) in the data. This will enable you to do a link between an unbound field per subform (filled with 1-12) on the main form and the datafield of the subform to have the data automatically in the correct subform.
If wanted you could make the empty subform(s) invisible, however that will take extra VBA coding.

Need more info ?

Nic;o)
How is that done?
Can you drop the (compacted and zipped) .mdb in my nico5038 mailbox "at" yahoo.com.
The I'll make a sample.

Nic;o)
OK, I'm sending an example to your yahoo address
ASKER CERTIFIED SOLUTION
Avatar of nico5038
nico5038
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Very creative.  Thanks for your help!
You're welcome, success with the application !

Nic;o)