Change Application Link programatically?

Hi,

Is it possible to change the “Link Between Applications” in a Search Form programatically? Basically, I am trying to use the same search app to load different forms depending on some conditions. So, what I want to do is based on a condition, I would like to change the link form name in code.

Regards.

Never worked with this but afaik there’s a macro to perform a link. Look at the sc_link macro in the documentation. Another approach could be using sc_redir. Each parameter will be passed as a global so: sc_line(myapp.php,myglobal={myfield}); will cause that the myglobal will be accessable as [myglobal] in the myapp.php.