>>Hi Mike,
>>
>>You're binding to the grid Click. To bind to a header
>>
>> BINDEVENT(.header1,'Click',thisform,'GetAdjUnits')
>>
>>
>
>If you examine the code, I have a with .header1 endwith loop with the bindevent inside. that's why I used this. Are you saying that I should put header1 instead?, inside the with/endwith will cause an error, so I need to place it outside the loop? or...
'This' refers to the current object and is not affected by WITH.
--sb--