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


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

bbrowser display file in reverse

Started byMartin <spam@spam.spam>
First post2013-07-05 14:37 +0100
Last post2013-07-08 20:53 +0200
Articles 5 — 4 participants

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


Contents

  bbrowser display file in reverse Martin <spam@spam.spam> - 2013-07-05 14:37 +0100
    Re: bbrowser display file in reverse D.J.W. van Kooten <public@ic2remove.this.com> - 2013-07-06 07:25 +0200
      Re: bbrowser display file in reverse Martin <spam@spam.spam> - 2013-07-08 16:50 +0100
        Re: bbrowser display file in reverse "Jamal" <jamal@examples.net> - 2013-07-08 13:29 -0400
        Re: bbrowser display file in reverse "Wolfgang Riedmann" <wriedmann@gmail.com> - 2013-07-08 20:53 +0200

#5459 — bbrowser display file in reverse

FromMartin <spam@spam.spam>
Date2013-07-05 14:37 +0100
Subjectbbrowser display file in reverse
Message-ID<q_zBt.15413$OG2.8946@fx19.fr7>
Newest record at the top and scrolling older

OrderDescend is unsupported

Any flags in bbrowser to support it?

Currently using a made up reverse key based on 31/12/2100 - date and 
86400-seconds()

[toc] | [next] | [standalone]


#5462

FromD.J.W. van Kooten <public@ic2remove.this.com>
Date2013-07-06 07:25 +0200
Message-ID<ufaft8le1a5c8j5qj8qni8uteuc3vr3gua@4ax.com>
In reply to#5459
On Fri, 05 Jul 2013 14:37:40 +0100, Martin <spam@spam.spam> wrote:

>Newest record at the top and scrolling older
>
>OrderDescend is unsupported
>
>Any flags in bbrowser to support it?
>

We use this:

	cCurrentOrder := SELF:oDCbBrowser:Server:OrderInfo (DBOI_NAME)
	IF !(cOrder == cCurrentOrder) // Flip sort order:
		SELF:oDCbBrowser:Server:SetOrder (cOrder)		
	ENDIF
	lDescend := !SELF:oDCbBrowser:Server:OrderDescend () // Then
ALWAYS run this code, otherwise nothing happens the first time
	SELF:oDCbBrowser:Server:OrderDescend (, , lDescend)

Dick

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


#5472

FromMartin <spam@spam.spam>
Date2013-07-08 16:50 +0100
Message-ID<HcBCt.66273$VY5.15296@fx27.fr7>
In reply to#5462
Thanks but OrderDesend never seems to work for me.

On 06/07/2013 06:25, D.J.W. van Kooten wrote:
> On Fri, 05 Jul 2013 14:37:40 +0100, Martin <spam@spam.spam> wrote:
>
>> Newest record at the top and scrolling older
>>
>> OrderDescend is unsupported
>>
>> Any flags in bbrowser to support it?
>>
>
> We use this:
>
> 	cCurrentOrder := SELF:oDCbBrowser:Server:OrderInfo (DBOI_NAME)
> 	IF !(cOrder == cCurrentOrder) // Flip sort order:
> 		SELF:oDCbBrowser:Server:SetOrder (cOrder)		
> 	ENDIF
> 	lDescend := !SELF:oDCbBrowser:Server:OrderDescend () // Then
> ALWAYS run this code, otherwise nothing happens the first time
> 	SELF:oDCbBrowser:Server:OrderDescend (, , lDescend)
>
> Dick
>

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


#5473

From"Jamal" <jamal@examples.net>
Date2013-07-08 13:29 -0400
Message-ID<krest9$3el$1@speranza.aioe.org>
In reply to#5472
Then you are doing something wrong!

When working bBrowser, after calling any methods that change the order of 
indexes and display,  you need to issue:

SELF:oDCbBrowser1:Refresh()
SELF:oDCbBrowser1:Server:Gotop()

Jamal

"Martin"  wrote in message news:HcBCt.66273$VY5.15296@fx27.fr7...

Thanks but OrderDesend never seems to work for me.

On 06/07/2013 06:25, D.J.W. van Kooten wrote:
> On Fri, 05 Jul 2013 14:37:40 +0100, Martin <spam@spam.spam> wrote:
>
>> Newest record at the top and scrolling older
>>
>> OrderDescend is unsupported
>>
>> Any flags in bbrowser to support it?
>>
>
> We use this:
>
> cCurrentOrder := SELF:oDCbBrowser:Server:OrderInfo (DBOI_NAME)
> IF !(cOrder == cCurrentOrder) // Flip sort order:
> SELF:oDCbBrowser:Server:SetOrder (cOrder) ENDIF
> lDescend := !SELF:oDCbBrowser:Server:OrderDescend () // Then
> ALWAYS run this code, otherwise nothing happens the first time
> SELF:oDCbBrowser:Server:OrderDescend (, , lDescend)
>
> Dick
> 

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


#5474

From"Wolfgang Riedmann" <wriedmann@gmail.com>
Date2013-07-08 20:53 +0200
Message-ID<b40g5nFngjaU1@mid.individual.net>
In reply to#5472
Hi Martin,

> Thanks but OrderDesend never seems to work for me.

what RDD you are using?

I'm using OrderDescend() in all applications since Clipper days (with
DBFCDX).

What are your index expressions?

Wolfgang


-- 

[toc] | [prev] | [standalone]


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


csiph-web