I have an editable grid-view form with a button. In the button I have the following code:
sc_redir(nd_freeform, glob_activityseq={activityseq});
This does not work as the {activityseq} is empty. This is a part of the primary key of the shown record(s), so it does have a value.
I displayed the value by echo-ing it, but the field is empty. If I put a manual value into the sc_redir, the application works:
sc_redir(nd_freeform, glob_activityseq=0); // works!
For me, this is a bug?
I managed to create a global varable, assign the activityseq to that and use it in the sc_redir:
in onloadrecord:
[glob_activityseq]={activityseq}
in the button event:
sc_redir(nd_freeform, glob_activityseq=[glob_activityseq]);
how odd is that?