Setting the number of Tabs in a Tab Control


D

Del LaBo

I am working on a database that will allow the user to forecast replacement parts for a number of final assemblies.

I want each final assembly to be displayed on a Tab in a Tab Control. The problem is the number of final assemblies can and will change by customer.

Example:

Customer A has 5 final assemblies F1, F2, F4, F10, F11
Customer B has 10 final assemblies F1. F2. F3, F4, F5, F10, F11, F12, F13, F14
Customer C has 20 final assemblies F1 - F20

If I am running the forecast for customer A I only want to show the 5 final assemblies they deal with, and I don't want blank tabs.

Is there a way to control / redraw the Tab Control with code and only show only tabs that relate to that customer?

Thank you in advance for any input!
Del
 
Ad

Advertisements


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

Similar Threads


Top