A
Anne
In this particular situation (I have several similar situations) I have a
combobox on a main form. This main form is FrmJobs2. Using a combo box the
job is selected, which is no problem. If there is a new job, the addition of
the new job works well until I get to the combobox for the contractor. If
there is also a new contractor, I created a double click event on the
ContractorSelect combo box and it opens the contractor table and a
contractor can be added. After the addition, the contractor form is closed,
works well.
Now I am back at the main form, and for the life of me, I cannot make it
that contractor shows up in that combobox unless I close the FrmJobs and
reopen it. I tried all kinds of requery and refresh, but the new name does
not show up.
Main for is: FrmJobs2.
Combobox is ContractorSelect. Bound Column is ContractorID.
What is the code to make this new contractor show up in the combobox and
where should it be placed.
Anne
combobox on a main form. This main form is FrmJobs2. Using a combo box the
job is selected, which is no problem. If there is a new job, the addition of
the new job works well until I get to the combobox for the contractor. If
there is also a new contractor, I created a double click event on the
ContractorSelect combo box and it opens the contractor table and a
contractor can be added. After the addition, the contractor form is closed,
works well.
Now I am back at the main form, and for the life of me, I cannot make it
that contractor shows up in that combobox unless I close the FrmJobs and
reopen it. I tried all kinds of requery and refresh, but the new name does
not show up.
Main for is: FrmJobs2.
Combobox is ContractorSelect. Bound Column is ContractorID.
What is the code to make this new contractor show up in the combobox and
where should it be placed.
Anne