wiklendt
i recommend chocolate
- Local time
- Tomorrow, 09:38
- Joined
- Mar 10, 2008
- Messages
- 1,746
hi it's me again!
i have a combobox who's rowsource is a table (listing suburbs) on a main form. when user wants to enter address with a non-existing suburb, i use a comand button to open a different form specifically only to enter a new suburb.
when i enter the new data, and close the form (using a comand button), i'd like to have the combobox display this new entry straight away. at the moment, i have to close and re-open the main form before the new entry will display in the combobox.
however, requery doesn't seem to do the trick... i presume because it's based on a table not a query? is there such a thing as 'refresh' for this type of thing? or am i going about it all entirely wrongly...?
cheers,
wiklendt.
i have a combobox who's rowsource is a table (listing suburbs) on a main form. when user wants to enter address with a non-existing suburb, i use a comand button to open a different form specifically only to enter a new suburb.
when i enter the new data, and close the form (using a comand button), i'd like to have the combobox display this new entry straight away. at the moment, i have to close and re-open the main form before the new entry will display in the combobox.
however, requery doesn't seem to do the trick... i presume because it's based on a table not a query? is there such a thing as 'refresh' for this type of thing? or am i going about it all entirely wrongly...?
cheers,
wiklendt.