Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FILTER and GO
Message
From
11/02/2002 07:50:29
 
 
To
11/02/2002 07:11:41
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00618202
Message ID:
00618233
Views:
8
Agnes,

What happens if you have both a filter and a filtered order set ?

(I have not considered the grid having a LinkMaster)

may be the best would be
IF BETWEEN(m.lnOldRecNo,1,RECCOUNT()) THEN
    GO (m.lnOldRecNo)

   skip 
   if( !eof() )
      skip -1
   endif
endif
>Gregory,
>
>this looks like a good idea.
>I've extended your code a little bit
>
>IF BETWEEN(m.lnOldRecNo,1,RECCOUNT()) THEN
> GO (m.lnOldRecNo)
> DO CASE
>  CASE DELETED()
>   GO TOP
>  CASE !EMPTY(FILTER())
>   IF !EVAL(FILTER()) THEN
>    GO TOP
>   ENDIF
>  CASE !EMPTY(ORDER())
>*With VFP7.0 or endless work
>   = ATAGINFO(laTags)
>*UPDATED
>   lcTagFilter = laTags(ASCAN(laTags,TAG(),1,0,1,15),4)
>   IF !EMPTY(lcTagFilter) AND !EVAL(lcTagFilter) THEN
>    GO TOP
>   ENDIF
> ENDCASE
>ENDIF
>
>to catch the filter in a TAG and it runs perfectly.
>
>Thanks a lot
>
>Agnes
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform