I have a Subform Contacts wich has fields :Firm,Contact peron
I want the RowSource for the Firld Contact person to be Selected form the SoWorkers table on Firm field
Please help me to do that.
Thanks alot
Arseniy
What kind of fields are they? Text Boxes, comboboxes,ect.?
What is the source of the Main Form?
What is the source of the subform?
If they are comboboxes, it is easy. You can open the form in design mode, right click the combo box, select properties, click the build button (i.e. the one with "..." next to it), and build the rowsource yourself.
Both fields are comboboxes
But the variant you advice doesn't work- it select the data only for the first enty you open and then uses it to all next rows.
I have tables
Firms:Number,name
CoWorkers:ID;Firm(linked to previuos table);Name
Contact_result:Code,Firm(as number,selected from the table Firms),Result
Contacts: Number, Code (linked to the parent),Contact person,Details
I made a form to work with them
in main form I am getting the values from the Contact_result table, in a subform- from the Contacts table.
Ia a subform the combofield Contact person should be selected from the CoWorkers table where firm= parent.firm (firm field is a parent form)
The problem is that if you just give the select criteria, it select the data only once and uses it for all the entries in the list
You can see the database on
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.