Yes, thanks Shenghui, it worked well, the , before y was missing which has changed the whole expression. Cheers,
Andrzej
Use the following code example:
In[52]:= G[x_,y_]:=x y In[53]:= D[G[x,y], y] Out[53]= x