Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DATAENVIRONMENT~
Message
 
À
27/12/1999 10:49:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00308730
Message ID:
00308879
Vues:
29
Wai Wai,

Ok a small simplification and the new line at the end;
WITH THISFORM.DATAENVIRONMENT
	.ADDOBJECT('CURSOR1','Cursor')
	.CURSOR1.CURSORSOURCE = CDX_DBF + 'SODETAIL'
	.CURSOR1.ALIAS = 'CURSOR1'
		
	.ADDOBJECT('CURSOR2','Cursor')
	.Cursor2.CURSORSOURCE = CDX_DBF + 'SOHEAD'
	.CURSOR2.ALIAS = 'CURSOR2'

	.ADDOBJECT('CURSOR3','Cursor')
	.Cursor2.CURSORSOURCE = CDX_DBF + 'ITEMMSTR'
	.CURSOR2.ALIAS = 'ITEMMSTR'

	.ADDOBJECT('CURSOR4','Cursor')
	.Cursor2.CURSORSOURCE = CDX_DBF + 'CUSTOMER'
	.CURSOR2.ALIAS = 'CUSTOMER'

        * The following line can be in this WITH/ENDWITH
        .OPENTABLES()
ENDWITH

With Thisform.DET_GRD
  .recordsourcetype = 0  && 1 Alias
  .recordsource = 'CURSOR1'
  <strong>.Refresh()</strong>
EndWith
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform