Hi Viv
Thanks for your reply. Actually it does not matter about having the same datasource for different controls. The problem is as explained by Caroline. I have taken her suggestion and moved the code to the lost focus, and this will have to do for now.
Thanks again
Bernard
>Hi,
>
>>> Please help as this is very frustrating.
>
>The problem arises because you have two controls with the same data source. You need to programmatically set the relevant textbox value to match the spinner value when it changes - otherwise VFP has two conflicting values for the same field..
>
>Regards,
>Viv