NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Matthew on March 06, 2012, 01:10:14 AM

Title: Problem with locator and finding a value greater then the last
Post 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 )

Quote
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
Title: Re: Problem with locator and finding a value greater then the last
Post by: Matthew on March 12, 2012, 12:11:14 AM
Does anyone have similar problem?

I still can't find any solution to fix this.

Regards,
Matthew
Title: Re: Problem with locator and finding a value greater then the last
Post by: Bruce on March 12, 2012, 02:34:53 AM
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
Title: Re: Problem with locator and finding a value greater then the last
Post by: Matthew on March 28, 2012, 11:10:44 PM
Hello Bruce.

Any solution to the problem with locator?

Regards,
Matthew
Title: Re: Problem with locator and finding a value greater then the last
Post by: Bruce on April 02, 2012, 02:15:05 AM
fixed in 6.27