kevinwangsct
9th June 2009, 03:50
As known, we are able to call a function within a library via OLE like this.
BaanObj.ParseExecFunction "otccardll000902", B_FUNCTION
"otccardll000902" for a library,
B_FUNCTION for a function call statement
My question is, is there any similar way to call commit.transaction() via any library?
Does somebody know the library which containing the function commit.transaction() ?
Or we have any ways to realize this?
Thanks.
NirajKakodkar
9th June 2009, 08:39
As known, we are able to call a function within a library via OLE like this.
Code:
BaanObj.ParseExecFunction "otccardll000902", B_FUNCTION
"otccardll000902" for a library,
B_FUNCTION for a function call statementMy question is, is there any similar way to call commit.transaction() via any library?
Does somebody know the library which containing the function commit.transaction() ?
Or we have any ways to realize this?
Hello ,
What do you want to commit ?, what do you want to achive calling commit.transaction() using OLE .
Instead you can write a function in the dll with complete query , pass the record that you want to save in the database and call the commit in that function itself .
Hope this helps you .
Regards,
Niraj
kevinwangsct
10th June 2009, 03:10
There are some functions within the library provided by LN system, they need a post action, commit.
Yes, a customized DLL would be helpful. But I want to understand the possiblity of the OLE.
BaanObj.ParseExecFunction "otccardll000902", B_FUNCTION
BaanObj.ParseExecFunction "Which Library" , "commit.transaction()"
mark_h
10th June 2009, 16:26
Well - why not just write a customized DLL which has only the commit transaction in it? That would solve your problem for the moment until another answer comes along. So two calls like below - just a thought.
BaanObj.ParseExecFunction "otccardll000902", B_FUNCTION
BaanObj.ParseExecFunction "otccommitdll" , COMMIT_RECORD
kevinwangsct
11th June 2009, 05:02
Well - why not just write a customized DLL which has only the commit transaction in it? That would solve your problem for the moment until another answer comes along. So two calls like below - just a thought.
BaanObj.ParseExecFunction "otccardll000902", B_FUNCTION
BaanObj.ParseExecFunction "otccommitdll" , COMMIT_RECORD
Yes, we have a dll with commit, abort and retry.point to be called by OLE.
I am so curious about the BAAN library.
mark_h
11th June 2009, 14:28
Yes - I am curious also, but as far as I know there is not a dll with just commit in it. I could be wrong.