>I tried your approach using the textbox object setting the value and refreshing the textbox. Encountered the same problem where the refresh did not happen until after the SQL code had executed.
Hmmm. Can we get a look at the code in your .RunSomeSQL() method? In theory, that shouldn't hang things up, but that's not always the case in practice.