NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Matthew on March 06, 2012, 01:10:14 AM
-
I have a browser and position locator. When I try to find a value greater than the last
browser is set on the previous value than the last and the last value is not seen.
This problem occurs both on TPS and SQL backend (this can be seen in NetTalk Example 49).
It seems to me that the problem is in the instructions after p_web._SetView (template netweb.tpw )
if loc:direction = 2
If loc:LocatorType = Net:Position or loc:LocatorType = Net:Date
ThisView{prop:Filter} = loc:FilterWas
End
If loc:first = 0
Set(thisView)
Else
#! rqd for TPS, not sure about sql
p_web._bounceView(ThisView)
If %Primary{prop:sqldriver}
#!Set(ThisView) ! workaround to RESET bug done in BounceView
Reset(ThisView,loc:firstvalue)
Else
Reget(%Primary,loc:firstvalue)
Reset(ThisView,%Primary)
End
End
Previous(ThisView)
loc:direction = -1
loc:nextdisabled = 1
Cycle
End
When I remove Previous(ThisView) the problem disappears, but sometimes there are duplicate records.
Regards,
Matthew
-
Does anyone have similar problem?
I still can't find any solution to fix this.
Regards,
Matthew
-
sorry for the delay Matthew - I've been out the office last week in the UK.
I'll be investigating this a bit closer this week.
cheers
Bruce
-
Hello Bruce.
Any solution to the problem with locator?
Regards,
Matthew
-
fixed in 6.27