Can;t get a subform on a tabpage

  • Thread starter Thread starter Laurel
  • Start date Start date
L

Laurel

I have a tab control with 3 tabpages. I want one of those pages to contain
a sub-form. I could swear I had it working properly for a while, but after
I removed it I can no longer get it "stuck" to the tabpage. When I drag in
the form onto the tabpage, it ends up actually sitting on top of the whole
tab control.

Am I mistaken in thinking I ever had it working (one does get dizzy after a
while.)

If this is do-able can anyone guess what I might be doing wrong?
 
I struggled with this myself. Instead of dragging it, try to cut it, click
on the appropriate tab control, then paste it.

HTH,
Debbie


|I have a tab control with 3 tabpages. I want one of those pages to contain
| a sub-form. I could swear I had it working properly for a while, but
after
| I removed it I can no longer get it "stuck" to the tabpage. When I drag
in
| the form onto the tabpage, it ends up actually sitting on top of the whole
| tab control.
|
| Am I mistaken in thinking I ever had it working (one does get dizzy after
a
| while.)
|
| If this is do-able can anyone guess what I might be doing wrong?
|
|
 
Drat. This sounds so clever. But when I rightmouse/copy the form and then
click on the tabpage control/right mouse, the 'paste' item in the right
mouse menu is disabled!!!! Any idea why?
 
Where are you right clicking? It works for me when I right-click on the tab
at the top.

But, then again, I always use Ctrl+c to copy, Ctrl+x to cut, and Ctrl+v to
paste.


| Drat. This sounds so clever. But when I rightmouse/copy the form and
then
| click on the tabpage control/right mouse, the 'paste' item in the right
| mouse menu is disabled!!!! Any idea why?
|
| | > I struggled with this myself. Instead of dragging it, try to cut it,
| click
| > on the appropriate tab control, then paste it.
| >
| > HTH,
| > Debbie
| >
| >
| > | > |I have a tab control with 3 tabpages. I want one of those pages to
| contain
| > | a sub-form. I could swear I had it working properly for a while, but
| > after
| > | I removed it I can no longer get it "stuck" to the tabpage. When I
drag
| > in
| > | the form onto the tabpage, it ends up actually sitting on top of the
| whole
| > | tab control.
| > |
| > | Am I mistaken in thinking I ever had it working (one does get dizzy
| after
| > a
| > | while.)
| > |
| > | If this is do-able can anyone guess what I might be doing wrong?
| > |
| > |
| >
|
|
 
It doesn't work no matter where I right click on the form. I've tried all
over. I've also tried ctrl/c ctrl/v. ctrl/v does nothing. I know my copy
is good because I can PASTE a new copy of the copied form into the FORMS
area of the database window.

Oh well. I finally got it to drag.

But since you've been working with this, let me ask another question. It
seems to be totally arbitrary where I have to right click on the sub form to
get the "data" list that includes the parent and child link fields. I have
no idea what I do when I stumble upon it. I've got one tab page where I've
just not been able to get it. Does this make sense? Any experience like
this?

tia
laurel
 
1. Select the subform.
2. Press Ctrl + X to cut it.
3. Click on the appropriate tab (the label at the top).
4. Press Ctrl + V to paste it.

You can then move it around where you want it on the Tab Control Page
(either by dragging or by using the arrow keys).


The right-click is just like the left-click ... you have to point and click
where you want to affect. Right-click selects AND displays a shortcut menu
of what you can do with what is selected. So if you wanted to use your
right-click in this example:

1. Right-click on the edge of the subform control (the control is selected
and the shortcut menu appears).
2. Click Cut.
3. Right-click on the appropriate tab (the label at the top).
4. Click Paste.

Something that might be helpful is on the Formatting (Form/Report) Toolbar.
At the far left is a drop-down box (when you point to it, it displays
"Object"). If you have named your controls with descriptive names, this
drop-down box can be very helpful in selecting objects on your form
(especially if they are hiding behind something). If you haven't named
them, the Tab Control will be named something like TabCtl0, and the pages on
the Tab Control will be named something like Page1, Page2, etc.

I would suggest if you are frustrated with using the right-click to not use
it (a lot of users struggle with it) -- use the Edit menu, the buttons on
the Toolbar, or the Ctrl keys. The way I learned to remember what the keys
do is that I usually say "Cut, Copy, Paste" ... the keys are in that order
on the keyboard ... X, C, V. Also, what I like about the Ctrl + X, C, V is
that they work almost anywhere ... even if there isn't an Edit menu or a
toolbar with the cut, copy, and paste buttons.

"It seems to be totally arbitrary where I have to right click on the sub
form toget the "data" list that includes the parent and child link fields. "
What you are referring to is the Properties of the subform control. You
must select the outside edge of the subform in order to get these
properties. You will know you have selected the subform control if you see
the 6 sizing handles around the outside edge of the control. Also, the
Object drop-down box I referred to above will contain the name of the
subform.

HTH,
Debbie


| It doesn't work no matter where I right click on the form. I've tried all
| over. I've also tried ctrl/c ctrl/v. ctrl/v does nothing. I know my
copy
| is good because I can PASTE a new copy of the copied form into the FORMS
| area of the database window.
|
| Oh well. I finally got it to drag.
|
| But since you've been working with this, let me ask another question. It
| seems to be totally arbitrary where I have to right click on the sub form
to
| get the "data" list that includes the parent and child link fields. I
have
| no idea what I do when I stumble upon it. I've got one tab page where
I've
| just not been able to get it. Does this make sense? Any experience like
| this?
|
| tia
| laurel
|
| | > Where are you right clicking? It works for me when I right-click on the
| tab
| > at the top.
| >
| > But, then again, I always use Ctrl+c to copy, Ctrl+x to cut, and Ctrl+v
to
| > paste.
| >
| >
| > | > | Drat. This sounds so clever. But when I rightmouse/copy the form and
| > then
| > | click on the tabpage control/right mouse, the 'paste' item in the
right
| > | mouse menu is disabled!!!! Any idea why?
| > |
| > | | > | > I struggled with this myself. Instead of dragging it, try to cut
it,
| > | click
| > | > on the appropriate tab control, then paste it.
| > | >
| > | > HTH,
| > | > Debbie
| > | >
| > | >
| > | > | > | > |I have a tab control with 3 tabpages. I want one of those pages to
| > | contain
| > | > | a sub-form. I could swear I had it working properly for a while,
| but
| > | > after
| > | > | I removed it I can no longer get it "stuck" to the tabpage. When
I
| > drag
| > | > in
| > | > | the form onto the tabpage, it ends up actually sitting on top of
the
| > | whole
| > | > | tab control.
| > | > |
| > | > | Am I mistaken in thinking I ever had it working (one does get
dizzy
| > | after
| > | > a
| > | > | while.)
| > | > |
| > | > | If this is do-able can anyone guess what I might be doing wrong?
 
I must not have been clear below. I have tried ctrl/x-ctrol/v. It just
doesn't work (ctrl/v does nothing - analagous to the disabled "paste" in the
right mouse menu.)
Something that might be helpful is on the Formatting (Form/Report) Toolbar.
At the far left is a drop-down box (when you point to it, it displays
"Object"). If you have named your controls with descriptive names, this
drop-down box can be very helpful in selecting objects on your form
(especially if they are hiding behind something). If you haven't named
them, the Tab Control will be named something like TabCtl0, and the pages on
the Tab Control will be named something like Page1, Page2, etc.

This was a good tip as far as knowing exactly what you're dealing with, but
I believe the control I want is the subform control, as contrasted with the
page control and the subform itself. The Page controls don't contain the
"Parent Link" "Child Link" attributes, nor do the subforms themselves. The
pages and the subforms are listed and selectable. Unfortunately, I have no
subform controls listed in the dropdown. I know for sure that I was able to
set values for the Parent and Child links at one point, because I have
subforms on two different pages, and one of them synchronizes to the parent
rows and the other one doesn't. I've tried Compact and Repair. I hate to
think of starting this whole form over.

Tell me, if you have a form with subforms on tabpages still handy. Do you
see subform controls in your list? If not, are you able, somehow, to get to
the parent link and child link attributes?
 
Laurel said:
I must not have been clear below. I have tried ctrl/x-ctrol/v. It
just doesn't work (ctrl/v does nothing - analagous to the disabled
"paste" in the right mouse menu.)
something like Page1, Page2, etc.
This was a good tip as far as knowing exactly what you're dealing
with, but I believe the control I want is the subform control, as
contrasted with the page control and the subform itself. The Page
controls don't contain the "Parent Link" "Child Link" attributes, nor
do the subforms themselves. The pages and the subforms are listed
and selectable. Unfortunately, I have no subform controls listed in
the dropdown. [Snip]

The object that you have been attempting to cut and paste has a Name
property. Are you saying that you do not see that name listed in the
drop-down list of objects for the form?
 
There are two threads here. I'm going to repost my brand-new question (as
of the most recent posting from me) as a stand-alone.
In other words, most of this thread was about my inability to paste a whole
form onto a tabpage.
The new question was about my inability to locate the subform control in the
list of controls on a form. I'll call it "Can't find "Master Link" and
"Child Link" attributes.

Rick Brandt said:
Laurel said:
I must not have been clear below. I have tried ctrl/x-ctrol/v. It
just doesn't work (ctrl/v does nothing - analagous to the disabled
"paste" in the right mouse menu.)
something like Page1, Page2, etc.
This was a good tip as far as knowing exactly what you're dealing
with, but I believe the control I want is the subform control, as
contrasted with the page control and the subform itself. The Page
controls don't contain the "Parent Link" "Child Link" attributes, nor
do the subforms themselves. The pages and the subforms are listed
and selectable. Unfortunately, I have no subform controls listed in
the dropdown. [Snip]

The object that you have been attempting to cut and paste has a Name
property. Are you saying that you do not see that name listed in the
drop-down list of objects for the form?
 
Back
Top