Re: Rowsource combo box reseting
From: Sandra Daigle (Invalid_at_KeepYourSpam.org)
Date: 03/10/05
- Next message: anonymous_at_discussions.microsoft.com: "Re: chkobsolete_afterUpdate() change"
- Previous message: Paul B.: "RE: combo box"
- In reply to: EllandRD: "Rowsource combo box reseting"
- Next in thread: EllandRD: "RE: Rowsource combo box reseting"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 10 Mar 2005 13:36:05 -0500
Call the same code in the Current Event of the form - this event fires after
record navigation so it's the place to do requeries and this type of thing.
FWIW, if the code is more than one or two lines I would probably put it in a
separate procedure and call that procedure from both the AfterUpdate event
and from the Current event rather than duplicating the entire set of code in
two places (which leads to maintenance nightmares).
-- Sandra Daigle [Microsoft Access MVP] Please post all replies to the newsgroup. EllandRD wrote: > have 4 combo boxes whos row source is dependant on the first 2.EG > > CBOA drives the rowsource for CBO B and CBOD > > CBO B drive the Row source for CBOC > > CBOA is on the main form CBO B<C<D or on a subform > > The row source is set on After update events on the CBO Boxes > > All data returened is fine. > > BUT > > When i look up old information the rowsource seems to be stuck on the > last entry i loooked at. So data looks like it is missing in bits and > parts part of my contious form. > > Helppp
- Next message: anonymous_at_discussions.microsoft.com: "Re: chkobsolete_afterUpdate() change"
- Previous message: Paul B.: "RE: combo box"
- In reply to: EllandRD: "Rowsource combo box reseting"
- Next in thread: EllandRD: "RE: Rowsource combo box reseting"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|