arunprasath
22nd April 2002, 13:20
I use stpapi calls to automate the sales order session. (tdsls4101m000.) BaaN iv c4 with supply chain.
I fetch data for the session from the database.
It works fine for 6 or 7 records.
when the number or records exceeds 8 or 9 it throws me this error at runtime.
this is stored in event viewer.

bdberrno 509 (Bad memory cursor; bad table pointer specified)
Message Exception C0000005 (Access violation)
1:000061f4

Can anyone tell me why this error occurs?

thanks in advance.
S.Arun Prasath

lbencic
22nd April 2002, 19:21
As someone suggested on these boards, you can often fix these types of problems by programming the session open and close for each record. I know that is not the best performance solution, but it seems to reset things properly each time. You can try it for your problem and see if it helps.

I believe this is a problem with the stpapi code, and needs to be fixed by Baan.

arunprasath
23rd April 2002, 15:57
I am starting the session and after that I close the session each time. so It works fine for less number of records. but when it exceeds 7 or 8 it gives me runtime error..

arunprasath
6th July 2002, 13:29
problem was with the porting set. when upgraded to the latest porting set, the problem got solved.