Hi Calvin,
Try storing the desired result value to the appropriate control values thru code, like this:
store lcResult to thisform.textbox.value
store lcResult2 to thisform.textbox2.value
This will be more efficient than refresh(), and will display the new values as specified.
Glenn
>Glen, Thanks for reminding me about the pre /pre thing. I always forget. In any case, I think you may have misunderstood my problem. I want the screen to refresh. The code goes out to an Access database and does some calculations to generate a code that the user can use to unlock the ignition on a vehicle. This code is what does not appear on the screen and to make matters worse the button that initiates the process does not disable, so that the user can click on it again and thus generate codes that will be incorrect. Any ideas?
>
>I have noticed this before whenever VFP calls an external program it has trouble refreshing the current screen.