P
Pringle9984
Right... the relevant tables are
quote_Mai
quote_Conten
quote_Section
quote_Location
The latter 3 are linked to quote_Main via the field quoteID
I have a form for each of the tables
frm_quot
subfrm_quoteConten
subfrm_quoteSection
subfrm_quoteLocation
Obviously the frm_quote is the main form and all the others are su
forms upon it
They all work fine apart from 1 thing on subfrm_quoteContents; one o
the fields is a combo box location_id; the query for this combo bo
is
SELECT quote_locations.location_id
quote_locations.quote_num, quote_locations.location_nam
FROM quote_location
WHER
(((quote_locations.quote_num)=forms.frm_quote.quote_num)
ORDER BY quote_locations.location_name;
Which should populate the combo boxes with those locations that hav
the same quoteID as the currently displayed quote - it works th
first time you click on the combo box but then if you cycle throug
records it doesn't update the contents
E.G. You open the quote_main form... hit 'next record' a few time
till you get to quote 5; in the subfrm_quoteContent you click on th
'location' combo box and it drops down with the correct content
(basically exactly what is shown in subfrm_quoteLocations) but the
you cycle to Quote 3 and click on the combo box - it still shows th
locations from quote 5
So... effectively what I want to do is 'refresh' the combo box'
contents whenever I click on it (or whenever I change record AN
whenever a new record is added to subfrm_quoteLocations)
I've tried 'requery' but because it requery's the combo box every tim
it won't actually let me select a value
If I requery the entire form it resets me back to the first record s
that's annoying as well
I have a few theories but they're not the ideal way I'd like to do i
so any help you could offer would be greatly appreciated
quote_Mai
quote_Conten
quote_Section
quote_Location
The latter 3 are linked to quote_Main via the field quoteID
I have a form for each of the tables
frm_quot
subfrm_quoteConten
subfrm_quoteSection
subfrm_quoteLocation
Obviously the frm_quote is the main form and all the others are su
forms upon it
They all work fine apart from 1 thing on subfrm_quoteContents; one o
the fields is a combo box location_id; the query for this combo bo
is
SELECT quote_locations.location_id
quote_locations.quote_num, quote_locations.location_nam
FROM quote_location
WHER
(((quote_locations.quote_num)=forms.frm_quote.quote_num)
ORDER BY quote_locations.location_name;
Which should populate the combo boxes with those locations that hav
the same quoteID as the currently displayed quote - it works th
first time you click on the combo box but then if you cycle throug
records it doesn't update the contents
E.G. You open the quote_main form... hit 'next record' a few time
till you get to quote 5; in the subfrm_quoteContent you click on th
'location' combo box and it drops down with the correct content
(basically exactly what is shown in subfrm_quoteLocations) but the
you cycle to Quote 3 and click on the combo box - it still shows th
locations from quote 5
So... effectively what I want to do is 'refresh' the combo box'
contents whenever I click on it (or whenever I change record AN
whenever a new record is added to subfrm_quoteLocations)
I've tried 'requery' but because it requery's the combo box every tim
it won't actually let me select a value
If I requery the entire form it resets me back to the first record s
that's annoying as well

I have a few theories but they're not the ideal way I'd like to do i
so any help you could offer would be greatly appreciated