NetTalk Central

Author Topic: c8/nt6 _ParentProc  (Read 2881 times)

hilton

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
c8/nt6 _ParentProc
« 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.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: c8/nt6 _ParentProc
« Reply #1 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

hilton

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
Re: c8/nt6 _ParentProc
« Reply #2 on: November 25, 2011, 03:53:43 AM »
Bruce,

Thanks for the prompt reply.

Hilton.