Prev: Conditional Formatting - Comparing field on form to field on a different table
Next: Display a message while a form loads
From: Ron on 25 Feb 2010 09:58 Even clicks in a datepicker? But will do, thanks John. Would appreciate hearing any generalized advice as to when/why me.refresh is needed for stuff like this. As mentioned above the table to which is bound the "me" control (a textbox with a datepicker, not a combobox as I implied above) appears updated immediately. ie. I change the date in "me," click on that table's tab, and the new date is there. Perhaps there is some buffer that nevertheless needs a clearance that only the refresh provides? -Ron "John W. Vinson" <jvinson(a)STOP_SPAM.WysardOfInfo.com> wrote in message news:ra0co5d4s934e2nn6rrs33iqoucp99afkc(a)4ax.com... > On Wed, 24 Feb 2010 20:33:35 -0500, "Ron" <Harvested(a)comcast.net> wrote: > >>Fixed my own problem. In the change event for the combobox, this does it: >> >>me.refresh >>me.parent.txtLatestDate = (DMax expression) > > Nitpick: I'd use the AfterUpdate event (which fires when a selection is > made), > rather than the misleadingly-named Change event (which fires at every > keystroke or mouseclick). > -- > > John W. Vinson [MVP] |