NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: alex.kolaric on November 09, 2011, 02:30:18 PM

Title: EIP field lookup and populationg of another EIP field
Post by: alex.kolaric on November 09, 2011, 02:30:18 PM
Hi,

I have one browse with few columns, two of them product ID and description - both editable. I set product ID as lookup where the user must use lookup button to select product from another browse list. What I need is to populate description based on selected product ID and be able to modify it afterwards. I'm using "More Assignments" to assign product desc to appropriate field

PCD:Description = p_web.GSV('OPI:Description')

and I use "Refresh Browse Row DATA ..." checkbox. However, description field stays empty after lookup.

I must be doing something wrong. Please help.

Regards,
Alex
Title: Re: EIP field lookup and populationg of another EIP field
Post by: Stu on November 09, 2011, 07:10:36 PM
Alex,

Hi there.

You probably want to set the value into the session:

p_web.SSV('PDC:Description',PDC:Description)
Title: Re: EIP field lookup and populationg of another EIP field
Post by: kevin plummer on November 09, 2011, 08:25:17 PM
I use this technique which is from the accounts example

Add the following to the server side code for your eip desc on the lookup

      p_web.setValue('_ParentProc','')       !added to auto refresh the browse xxx
      p_web.DeleteValue('_EIPClm' )
      YourBrowse1Procedure(p_web)
Title: Re: EIP field lookup and populationg of another EIP field
Post by: alex.kolaric on November 10, 2011, 05:40:31 AM
Thanks guys,

will try both things and see if it makes a difference.

Regards,
Alex