Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Two grids on a form
Message
De
25/11/2004 13:53:37
 
 
À
25/11/2004 01:13:26
Reza Meamar
Homa Programming Group
Shiraz, Iran
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows '98
Database:
Visual FoxPro
Divers
Thread ID:
00964600
Message ID:
00964755
Vues:
11
>Hi all
>I have a form with two grid in it.( Grid1 and Grid2 ). i have a table with two field .( Field1 N(3,0) , Field2 L )
>I want to have records that Field2 = .T. in Grid1 and Field2 = .F. in Grid2
>Can i have this condition?
SELECT TABLE
INDEX ON FIELD2 TAG TAGINOUT && this is useful for RECCOUNT()>1000

USE DBC('TABLE') AGAIN IN 0 ALIAS TABLETRUE
USE DBC('TABLE') AGAIN IN 0 ALIAS TABLEFALSE
SET FILTER TO FIELD2 IN TABLETRUE
SET FILTER TO !FIELD2 IN TABLEFALSE
*
grid1.recordSource='TABLETRUE'
grid2.recordSource='TABLEFALSE'
Fabio
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform