Form with subform doesn't work on tab control

  • Thread starter Lee Zard via AccessMonster.com
  • Start date
L

Lee Zard via AccessMonster.com

I have an existing main form and a sub form that are linked as follows:
Master: combo box named cboPerson (2 columns, Bound column is 2nd colunm -
PersonID)
Child : PersonID
Works great!
I dragged this form onto a tab control and the form does not work on the tab
control.
What happened?
 
R

Rick Brandt

Lee said:
I have an existing main form and a sub form that are linked as
follows: Master: combo box named cboPerson (2 columns, Bound column
is 2nd colunm - PersonID)
Child : PersonID
Works great!
I dragged this form onto a tab control and the form does not work on
the tab control.
What happened?

Well since it is not possible to drag existing items onto a TabControl I
would suspect nothing to have happened.

Only new items from the toolbox can be dragged and dropped onto tab pages.
Existing items have to be cut and pasted onto them. Neither operation
should affect how a subform works.

By the way...what does "not work" mean in this context? That would be
helpful in determining the solution.
 
B

boblarson

Can you be more specific?

You say you "dragged the form onto the tab." Which form - the main form,
the subform, both?

You say it doesn't work, but what does "doesn't work" mean? What can or
can't you do?

--
Bob Larson
Access MVP
Access World Forums Administrator
Utter Access VIP

Tutorials at http://www.btabdevelopment.com

__________________________________
 
L

Lee Zard via AccessMonster.com

I started with a form called "LookUp" that contains a combo box and a subform.
Here's how my "LookUp" form works: The combo box is loaded with a Select
statement in the Row Source. When I click on a person in the combo box and
the person's information appears in the subform (name sfLookUp). Works great.
I created a new form with a tab control. I dragged my form "LookUp' onto
the tab control. Here's what does and doesn't work: The combo box is loaded
from the Select statement in the Row Source. The subform area is blank (no
labels or anything). When I click on a person in the combo box nothing
happens, just the sound of my mouse clicking.
Thanks for your help.
Can you be more specific?

You say you "dragged the form onto the tab." Which form - the main form,
the subform, both?

You say it doesn't work, but what does "doesn't work" mean? What can or
can't you do?
I have an existing main form and a sub form that are linked as follows:
Master: combo box named cboPerson (2 columns, Bound column is 2nd colunm -
[quoted text clipped - 4 lines]
control.
What happened?
 

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

Top