*-------------------------------------------------Code start--------------
a=sqlconnect("Acc")
cGroup = "'Furniture & Fixtures'"
cMasterGroup = "'ASSET'"
ZZZ = 0
=SQLEXEC(a,'EXEC Insert_In_Group' + (cGroup)+','+ (cMasterGroup)+ ',' +str(ZZZ)), 'MyCursor')
=aerror(lArray)
Disp memo like lArray
*---------------------------------------------------Code End--------------
Hi Sanjay,
I suspect this will not work anyway.
If you look at what the Exec statement evaluates to it looks wrong.
EXEC Insert_In_Group'Furniture & Fixtures','ASSET',0
It's so long since i've used Exec i can't remember the syntax but shouldn't there be a space after the word Group?
HTH
Will Jones