>>
>>wait window timeout 1 'Record saved.'
>>
>>
>>At the end, I had logging immediately before and immediately after that line and that was when the property changed. Comment that line out and the problem goes away. As I write this, it occurs to me to try it without the timeout clause (maybe add a WAIT CLEAR later on).
>>
>>Anyone have any thoughts about why a WAIT WINDOW would have any affect on the value of a form property?
>
>Does the WAIT WINDOW cause something else to lose focus, so a .LostFocus() or some such is firing?
>
Ohhhh, yeah. I'll bet that's it. I have a vague memory of having to change something else in this application because a WAIT WINDOW was causing some code to fire.
>Is this code something you wrote originally, or are you maintaining someone else's code? Is there a framework being used?
This is an FPW app of someone else's that I'm helping convert to VFP. Originally based on Stonefield Appmaker and we've built a bit of a framework based on that.
Tamar