NetTalk Central

Author Topic: Browse EIP file drop server code problem  (Read 3690 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Browse EIP file drop server code problem
« on: May 20, 2020, 12:42:30 PM »
Ive twiked example 21 adding a drop EIP column to the Customers Browse to get the Shipper.
I need to use the data selected in the drop in the server code and its always blanked
Ive tryed using
p_web.AddLog(SHI:ShipperCode&' '&SHI:Shipper)
p_web.AddLog(p_web.gsv('SHI:ShipperCode')&' '&p_web.gsv('SHI:Shipper'))
and all is blanked
Even if you add the fields in the view tab.
Example 21 attached.

Please I need to solve this ASAP
Thanks

-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Browse EIP file drop server code problem
« Reply #1 on: May 20, 2020, 10:03:16 PM »

>> p_web.AddLog(SHI:ShipperCode&' '&SHI:Shipper)
>> p_web.AddLog(p_web.gsv('SHI:ShipperCode')&' '&p_web.gsv('SHI:Shipper'))

Given that the browse is on Customers, so CUS:ShipperCode is the value being updated,
there's no point in logging the values in SHI

The drop itself seems to work from what I can tell here

cheers
Bruce

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Browse EIP file drop server code problem
« Reply #2 on: May 21, 2020, 01:47:27 AM »
Bruce, I just add those lines to see if I have this values,
I need to Log the change of the shipper in another file and then I need this values in the "server code" embed, and those values are blanked.

I need to log a field from the Shippers that is not the value nor the description of the drop, so Ive added it in the drop view, but no shippers field values are present in the server code embed.

Now thinking, I can reget the shippers record using the Customer field, but as I recall it works ok in a Drom on a form.
« Last Edit: May 21, 2020, 02:04:11 AM by michelis »
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Browse EIP file drop server code problem
« Reply #3 on: May 23, 2020, 12:37:55 AM »
>> Bruce, I just add those lines to see if I have this values,

well I guess the answer then is "no you don't".
What you do have is  CUS:ShipperCode

Cheers
Bruce

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Browse EIP file drop server code problem
« Reply #4 on: May 23, 2020, 05:37:09 AM »
Ok, but then what is the use of view fields?
-----------
Regards
Alberto