NT 6.48
I have an application that was based on static pages with dynamic content. In one situation, I had a static page with an html button that called a NetWebSource procedure which tested some variables and then called a specific html static page. The basic code for the NewWebSource procedure was:
If p_web.GSV('myvariable') = 'Y'
packet = '/mywebpage.html'
Else
packet = '/myotherpage.html'
End
Do Sendpacket
I am now converting the app to a dynamic app. I have a memory netwebform with some variables that will be used as session variables to guide later processing decisions. The form has an html button on it that calls a NetWebSource procedure where the variable testing is done. However, now I am calling nettalk procedures instead of html static pages. I've tried substituting the html pages in the code above with the nettalk procedure, but I get errors saying the xml file has not CSS. The basic method I am trying is:
If p_web.GSV('myvariable') = 'Y'
packet = '<!-- Net:mynettalkprocedure -->'
Else
packet = '<!-- Net:myothernettalkprocedure -->'
End
By the way, the procedure I am, at the moment, trying to call is one of a series of reports. So, I am also interested in how I would get the report (pdf) to open in a new target window from this netwebsource procedure.
Thanks,
Mike Springer