NetTalk Central

Author Topic: NT 12.38  (Read 3185 times)

osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
NT 12.38
« on: March 17, 2022, 07:44:17 AM »
after update to NT 12.38 this broke a code in Netwebrowse, filter, conditional Filter after update generate this code

ElsIf p_web.IsChildOf(loc:Parent,'UpdateActivePickups')
      loc:FilterWas =
      If 'Bil:BillofLadingId = '&  p_web.GSV('Bil3:BillofLadingId')&' and (Bil:ChargeValue>0 or Bil:ChargeValue<0) and Bil:CustomerId='& p_web.GSV('Cus3:CustomerId') <> ''
        loc:FilterWas = clip(loc:FilterWas) & ' AND ' & 'Bil:BillofLadingId = '&  p_web.GSV('Bil3:BillofLadingId')&' and (Bil:ChargeValue>0 or Bil:ChargeValue<0) and Bil:CustomerId='& p_web.GSV('Cus3:CustomerId')
      End

previous version
 ElsIf p_web.IsChildOf(loc:Parent,'UpdateActivePickups')
      Bil3:BillofLadingId = p_web.RestoreValue('Bil3:BillofLadingId')
      loc:FilterWas =  'Bil:BillofLadingId = ' & Bil3:BillofLadingId
      If 'Bil:BillofLadingId = '&  p_web.GSV('Bil3:BillofLadingId')&' and (Bil:ChargeValue>0 or Bil:ChargeValue<0) and Bil:CustomerId='& p_web.GSV('Cus3:CustomerId') <> ''
        loc:FilterWas = clip(loc:FilterWas) & ' AND ' & 'Bil:BillofLadingId = '&  p_web.GSV('Bil3:BillofLadingId')&' and (Bil:ChargeValue>0 or Bil:ChargeValue<0) and Bil:CustomerId='& p_web.GSV('Cus3:CustomerId')
      End

go back to 12.37 

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: NT 12.38
« Reply #1 on: March 22, 2022, 11:50:09 PM »
insufficient data for meaningful answer.

osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
Re: NT 12.38
« Reply #2 on: March 23, 2022, 06:21:11 AM »
NT 12.38 generate this incomplete code in Netwebrowse, filter, conditional Filter
loc:FilterWas =

NT 12.37
Bil3:BillofLadingId = p_web.RestoreValue('Bil3:BillofLadingId')
loc:FilterWas =  'Bil:BillofLadingId = ' & Bil3:BillofLadingId


Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: NT 12.38
« Reply #3 on: March 24, 2022, 02:16:33 AM »
That filter line comes from the Range/Filter settings for the browse.
So what does that look like in 12.38? did the settings go missing? are they there? Can you duplicate the effect in an example?

cheers
Bruce