sharma
22nd July 2005, 09:55
hi friends

I am writting a script for inserting data using AFS , I am writting as .
ret = stpapi.insert("tfcus0000up01",true,error.msg).
But while compling the script error message is Error : Function ' stpapi.insert' returns no value.
Please help.

thanks

mark_h
22nd July 2005, 15:36
What version of Baan? Have you used the command before? You probably need to update your stpapi libraries. My old documentation shows that originally stpapi.insert did not return any value. Anyway just remove "ret =" and it should compile. I do recommend updating the stpapi objects.

sharma
23rd July 2005, 07:19
Sir
We are using BaaN Version C4 - in5 , Os Unix sun solaries , database oracle.
How can we update stpapi objects.

Regards

sharma
23rd July 2005, 13:52
Sir,
after removing ret = from the line ,my problem solved & its is working fine

thnaks a lot

Regard