Quote Originally Posted by paulm View Post
@mat123slade: are you trying to add only that part of the total sql? If so, @cssbuttonsid indeed will have no value.
Problem solved. This was indeed my problem. Thanks for your help.