Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FILTER and GO
Message
De
11/02/2002 07:11:41
Lutz Scheffler (En ligne)
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
11/02/2002 05:41:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00618202
Message ID:
00618221
Vues:
10
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]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform