NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: hilton on November 24, 2011, 10:25:15 PM

Title: c8/nt6 _ParentProc
Post by: hilton on November 24, 2011, 10:25:15 PM
Hi Folks,

I have a customer enquiry that show fields depending on the Parent process.  The code I use is:
If (p_web.GetValue('_ParentProc')='CustEnqBalTran') then etc.........

It worked well in nt5, but I noticed that when I inserted a trace, debugview showed that the property _ParentProc returns nothing.

Any ideas - Thanks,
Hilton.
Title: Re: c8/nt6 _ParentProc
Post by: Bruce on November 24, 2011, 10:55:28 PM
_ParentProc
has been renamed to
_ParentProc_

indeed almost all the "internal" values coming in the request have been changed to have an underscore at both ends. In NT5 it was a mix of none, one, or both so I wanted to standardize this.

the exception is the one named "value" which I haven't changed because this is most likely to be used in hand-code.

also, I think loc:parent is primed for you, so you can use that in your expression instead of the GetValue.

cheers
Bruce
Title: Re: c8/nt6 _ParentProc
Post by: hilton on November 25, 2011, 03:53:43 AM
Bruce,

Thanks for the prompt reply.

Hilton.