Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select query to show result in Grid
Message
 
À
08/03/2004 11:24:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00884113
Message ID:
00884115
Vues:
11
rename your string name eg. lcSQL and .RecordSourceType = 1
LcSQL = "select distinct(a.tiffile), b.docindex_i from ocrdata a, docudeck b ;
where a.tiffile = b.file_name ;
And a.OCDATA like '% + alltrim(thisform.text5.value)+%' ;
Order By a.ID into Cursor lcSource"

&LcSQL

with thisform.grid1
.RecordSource = ""
.RecordSourceType = 1 && Alias &&4 && SQL
.RecordSource = "lcSource"
endwith
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform