Solved

Variable Length SubForm

Posted on 2001-09-13
11
368 Views
Last Modified: 2011-09-20
Is there a way to have a variable length subform append its records in multiple columns, rather than just vertically?
0
Comment
Question by:mcarollo1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
11 Comments
 
LVL 2

Expert Comment

by:hotbudare
ID: 6481464
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.
0
 

Author Comment

by:mcarollo1
ID: 6482730
The maximum number of records can be assumed.  ex. I know there will never be more than 12.
0
 
LVL 54

Expert Comment

by:nico5038
ID: 6485048
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)
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:mcarollo1
ID: 6485110
can you expand on the 12 subforms idea?
0
 
LVL 54

Expert Comment

by:nico5038
ID: 6485231
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)
0
 

Author Comment

by:mcarollo1
ID: 6487803
How is that done?
0
 
LVL 54

Expert Comment

by:nico5038
ID: 6488020
Can you drop the (compacted and zipped) .mdb in my nico5038 mailbox "at" yahoo.com.
The I'll make a sample.

Nic;o)
0
 

Author Comment

by:mcarollo1
ID: 6505662
OK, I'm sending an example to your yahoo address
0
 
LVL 54

Accepted Solution

by:
nico5038 earned 50 total points
ID: 6506904
Check your mail.

For making columns I added a MOD to "split" the subform's records into two columns, enabling an "Unlimited" number of rows.

Nic;o)
0
 

Author Comment

by:mcarollo1
ID: 6506994
Very creative.  Thanks for your help!
0
 
LVL 54

Expert Comment

by:nico5038
ID: 6507024
You're welcome, success with the application !

Nic;o)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question