Hello
Wondered if anyone had a minute to look at my database - it is a Sales Contact Management Database to help our company keep track of any potential leads / existing clients...
The problem I have is on Frm_Company, SubFrm_Correspondence, cboContact
I have a combo box on the SubFrm_Correspondence which relates to the contacts for a particular client / prospect. I have a filter in place which limits the contents of the combo box to the contacts that belong to the current client / prospect only.
The problem I have is this... on wanting to add a new entry (or conversation) - by clicking the 'add new' command button, the sub form clears itself (this is what I want so that I can add a new entry) - the problem is that the combo box then appears empty (i.e. it is no longer showing the names of the contacts for that company)
Can anyone help me figure out why this is happening because after looking at this for far longer than I would care to admit I am stumped??
Many thanks in anticipation....

I should have perhaps also mentioned that the combo box runs off a query - I have just tried adding me.cbocontact.requery to the on click event of the 'add new' command button - this has solved the issue of the blank combo box however I now have a new problem... once I have picked a new item from the list box on the left and a new contact from the combo box mentioned for some reason the contents of the text box underneath got back to showing the first record in the table. I have an idea that this has something to do with the continuous form I am using (which is also shown in the contact history tab) but I cannot work out why this is happening??
Any help very welcome!
Wondered if anyone had a minute to look at my database - it is a Sales Contact Management Database to help our company keep track of any potential leads / existing clients...
The problem I have is on Frm_Company, SubFrm_Correspondence, cboContact
I have a combo box on the SubFrm_Correspondence which relates to the contacts for a particular client / prospect. I have a filter in place which limits the contents of the combo box to the contacts that belong to the current client / prospect only.
The problem I have is this... on wanting to add a new entry (or conversation) - by clicking the 'add new' command button, the sub form clears itself (this is what I want so that I can add a new entry) - the problem is that the combo box then appears empty (i.e. it is no longer showing the names of the contacts for that company)
Can anyone help me figure out why this is happening because after looking at this for far longer than I would care to admit I am stumped??
Many thanks in anticipation....

I should have perhaps also mentioned that the combo box runs off a query - I have just tried adding me.cbocontact.requery to the on click event of the 'add new' command button - this has solved the issue of the blank combo box however I now have a new problem... once I have picked a new item from the list box on the left and a new contact from the combo box mentioned for some reason the contents of the text box underneath got back to showing the first record in the table. I have an idea that this has something to do with the continuous form I am using (which is also shown in the contact history tab) but I cannot work out why this is happening??
Any help very welcome!

Attachments
Last edited: