Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FILTER and GO
Message
From
11/02/2002 07:11:41
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
11/02/2002 05:41:57
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00618202
Message ID:
00618221
Views:
9
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
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform