On Tue, Apr 23, 2024 at 4:22 PM Joe Yoder joe@wheypower.com wrote:
The Spaces listbox lost focus event calls the requiry event of the Units listbox to update the choices that appear in the Units list box
At the event LostFocus(), the Spaces listbox hasn't finished its series of actions. Specifically, I think it is not until the Valid() event is completed that the listbox considers the data change valid, and updates the .Value of the control. You might want to try updating the Valid event with something like:
DODEFAULT && to let the Control get its new .Value, then ThisForm.lboUnits.Requery()
or similar.
(confirm this, as I haven't used Fox in a decade or so)
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---