|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
Access 2002, force combo box to requery
Hi,
I want to force a combo box to requery after adding a record on a different form. eg. i have a form where i select an item from a combo box, if the item is not in the list i open another form where i add the record, then close the form. ...after closing the form the combo box has not updated. how do i force the combo box to requery? any thoughts / suggestions would be greatly appreciated. regards, Aaron. |
|
#2
|
|||
|
|||
|
javascript:
onblur or onchange have it resubmit the window. document.myform.submit(); i think... when page reloads you add the record first, then when you get to the combo box section it's already in the DB and is displayed |
|
#3
|
|||
|
|||
|
In Access 2000 combo boxes have a .requery method. You can fire this from the other forms unload event.
|
|
#4
|
|||
|
|||
|
Hi,
thanks for the reply. yeah i've tried forcing the combo box to requery using the requery method but it doesnt' work. any ideas anyone? regards, aaron |
|
#5
|
|||
|
|||
|
yea, try my method, 100% chance of not failing
![]() |
![]() |
| Viewing: Dev Shed Forums > Databases > Database Management > Access 2002, force combo box to requery |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|