Adding pages to exiting Tab Ctrl at a runtime?

  • Thread starter Thread starter zdravkor
  • Start date Start date
Z

zdravkor

EDIT: I've misspelled Subject :/

I have Tab control on a form, and i want to add new page(s) durin
runtime.

Is it possible, and what would the code look like?

Thanks,
Zdravk
 
zdravkor said:
EDIT: I've misspelled Subject :/

I have Tab control on a form, and i want to add new page(s) during
runtime.

Is it possible, and what would the code look like?

Access is not well suited to adding controls in Runtime as there is a
lifetime limit on how many controls can be added to a form and controls
that are added and then deleted still count against that total. The usual
advice is to add all the controls you could possibly need and hide all but
the minimum. Then your code simply unhides them instead of adding them.

I'm not sure if Tab Pages fall into the same category as adding controls,
but that is what I would still advise.
 
Hi Zdravko,
I have a question to ask you, I'm creating a help desk application as a
project for school and I've created so that everything will be displayed on
a single form with tabs. My problem is that I can't seem to get controls on
those tabs to access the tables. How do I get those forms to be "linked" to
a certain table. I get this error "#Name?" in the tab control on the form.
Do you know where I could get information on how to link each page of a tab
control to a table.

Thanks in advance


|
| EDIT: I've misspelled Subject :/
|
| I have Tab control on a form, and i want to add new page(s) during
| runtime.
|
| Is it possible, and what would the code look like?
|
| Thanks,
| Zdravko
|
|
| ------------------------------------------------
|
|
|
 
Back
Top