Combobox in SubForm

  • Thread starter Thread starter an
  • Start date Start date
A

an

Hello!

I have a Form with combobox and SubForm with another combo.
I would like to choose in combo of the SubForm, only
records before selected, but I don't know how.

Thanks in advance.
an
 
Maybe it's just me, but I would say your question is
enigmatic. I think you will need to add something about
what your database does. Do you want the subform combo
box to display a filtered list of choices based on a combo
box in the main form, or something like that?
 
Thanks for your replay.

Yes, I need to display in SubForm the records filtered of
choices based on a combo box in the main form.

Sorry for my english...

an
 
I do not think you need a subform. A subform is usually
for working with a different table or query than is used
on the main form. If your form already has all of the
fields you need, try looking at the combo box wizard. On
the Toolbox, make sure the magic wand is highlighted, then
click the Combo Box picture. Click anywhere in your form
and follow the prompts to make a combo box that looks up
the values in a table or query. If this is not what you
need, it would help if you could provide some details of
what the database does and how it is structured.
 
What is the table for the main form, what is the table for
the subform, and how are they related to each other? What
is the database supposed to do?
 
Sorry for may delay.

I have:
MainForm, data read in T_Compon, with IdCompon with Key
(One), and cboCompon;

SubF1, data read in T_SubCompon, with IdCompon without key
(ralation to Many) and IdSubCompon with key (One), with
CboSubCompon;

SubF2, data read in T_Local, wtih IdSubCompon without key
(relation to Many).

I would like:
a) Display in SubF1, only the of the T_Compon
records "filtered" with CboCompon in MainForm, and

b)Display in SubF2, only T_Local records "filtered" with
CboSubCompon in SubF1.

Cordially.
an
 
Back
Top