NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: osquiabro 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
-
insufficient data for meaningful answer.
-
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
-
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