Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #10257 > unrolled thread

Problem with RecordGroups and GoTo

Started byLu <lu2k@hotmail.com>
First post2017-03-08 00:18 -0800
Last post2017-03-16 09:25 -0700
Articles 3 — 1 participant

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  Problem with RecordGroups and GoTo Lu <lu2k@hotmail.com> - 2017-03-08 00:18 -0800
    Re: Problem with RecordGroups and GoTo Lu <lu2k@hotmail.com> - 2017-03-15 08:47 -0700
      Re: Problem with RecordGroups and GoTo Lu <lu2k@hotmail.com> - 2017-03-16 09:25 -0700

#10257 — Problem with RecordGroups and GoTo

FromLu <lu2k@hotmail.com>
Date2017-03-08 00:18 -0800
SubjectProblem with RecordGroups and GoTo
Message-ID<6bc94d60-d79d-4dab-9db0-e44b6d6c4e15@googlegroups.com>
Hi VO-Experts

When I delete a record in a bbrowser and after a refresh and 
self:oDCbBrowser:Server:GoTo(nRec) the (+) is not shown correctly in the list when recordgroups are above the row I deleted. The recordgroups after the deleted row are displayed correctly. 

The not correctly displayed recordgroups appear when I move the vertical scroll-bar upwards

You can see it here: https://pl.vc/u4j0z

The browser is filled with a stored procedure from a MS sql-server.

Has somebody an idea?
Lu

[toc] | [next] | [standalone]


#10295

FromLu <lu2k@hotmail.com>
Date2017-03-15 08:47 -0700
Message-ID<e9412711-93ac-4823-a458-68294f01bff2@googlegroups.com>
In reply to#10257
I realized that the + is displayed correct until I make a 

self:odcbBrowser:Goto(nrec). 

After that the + is not shown correct (screenshot: https://pl.vc/u4j0z) if i move the vertical scrollbar upwards. The recordgroups above nrec are not displayed correct.

Thanks for any help in advance.
Lu

[toc] | [prev] | [next] | [standalone]


#10304

FromLu <lu2k@hotmail.com>
Date2017-03-16 09:25 -0700
Message-ID<3fdab884-47e5-49f3-85d2-37a0e8dc3f43@googlegroups.com>
In reply to#10295
Now I found a solution for the problem. When I scroll down and up with the scroll-bar then make self:odcbBrowser:Goto(nrec) the bbrowser shows the (+) correct.

In the code I solved it with
 
 self:oDCbBrowser:Server:SuspendNotification()
 FOR nRec := 1 upto self:oDCbBrowser:Server:Reccount
 self:oDCbBrowser:GoTo(nRec)
 self:oDCbBrowser:RecordGroup:Eval(BRGEO_AUTO)	
 NEXT nRec 
 self:oDCbBrowser:Server:ResetNotification()


self:odcbBrowser:Goto(nrec2)

Lu

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web