benito
14th March 2011, 18:39
Folks,

i created a wrapper program for the above session. everythings seems to be fine except that when i hit continue on the form it doesnt do anything. debugging produces "parent.object.function.id" = 0 ONLY on the function below. is there something i need to modifiy/check?

thanks in advance.

function extern long continue.process()
{
long ret_val
parent.object.function.id = get_function(parent.object.dll.id, "long continue.process")
parent.object.error = exec_function(parent.object.dll.id, parent.object.function.id, ret_val)
return(ret_val)
}

mark_h
14th March 2011, 21:50
Should that function just be continue.process not "long continue.process"? I haven't checked the sample code from ~vamsi yet, just thought I would ask that first.

mark_h
14th March 2011, 22:14
Yep - should be something like on.choice.continue.process.

benito
14th March 2011, 22:53
thank you mark. i have actually tried your first suggestion and didnt work. the form function says "continue.process". i can try your second suggestion but i doubt it would work. i have compared it also with other standard sessions in LN.

mark_h
14th March 2011, 23:51
All I can recommend at this point is to check the code and utilities forum - everything I see shows that these functions get created and should be something like on.choice.continue.process. It looks like this might be something in the way it is generated and plus I am not sure how this would work on LN.

benito
15th March 2011, 18:16
Thanks Mark but this is the error I got "Function 'continue.process' for this Form Specific Command could not be found"

benito
4th April 2011, 17:44
Looks like its working now. I completely ignored the function generated by rush, placed "exec.cont.process" as the Form command and added the following:

choice.cont.process:
on.choice:
parent.object.function.id = get_function(parent.object.dll.id, "continue.process")
parent.object.error = exec_function(parent.object.dll.id, parent.object.function.id)

mark_h
4th April 2011, 21:32
Glad you solved the problem and thanks for posting the solution.