CompanyIndustry Test.zip
Hi all,
Once Again I need some assistance….
Db Attached, Opens to frmCompany.
I have a tab (CmdIndustry) on the form that is a subform (sPrimaryIndustry). On click it opens that sub form.
Once open,
You can select a Primary Industry from a combo. Combo has a NotInList and DblClick function on it. That then populates if selection made, a listbox (Available Role(s), That has a CmdButton (Toolbox) that should open up a form to add if not in that list box. Once selected items are moved to Selected Role(s),
Then that populates the Available Function(s) and so on, This too has a tool box CmdButton that should open up form to add new Functions. OK
The issues I am having that I can not seam to work out are:
When I dblClick the combo box, it does open form but not go to the actual txt value. It goes to the first record and not the specified record in the combo.
On NIL Funcition, It does open form, add the new record, but does not go to that record in the form. I want it to go to that record as to fill out the additional form info….
Example:
If I open a company, click on industry tab and there is no industry, I select from the combo, lets say I select construction. If I dblclick that I want it to open frmIndusryData, and in the sfrmPrimaryIndustry I want it to go to the record that is Construction.
If I do above but Not in List, then I want to open the frmIndustryData, and put the new text in and go to that record on the sfrmPrimaryIndustry.
If I have construction in combo, then If I click on the tool box by available roles because the role is not in the listbox, then I want it to open the same form, carry over the combo value, and go to a new record under the sfrmavailableroles.
Similar with the tool box button by the Available Function list box, I want to open the frmIndustryData, and carry the values of the combo and the selected role and go to a new record.
And then requery the combo and list boxes as needed.
Hope this makes some sense.
I got part of it down, I just cant put the values where I want them? Would love some assistance with this please…
Thanks
Dave