Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dataenvironment and Views
Message
De
14/07/1998 13:14:11
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
14/07/1998 12:54:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00117227
Message ID:
00117239
Vues:
20
>Hi All --
>
>Does anyone know of a way to programmatically scan through cursors in a visually-created DataEnvironment and determine which are views? I have a clunky way of doing it but I'm sure that someone else has a much better way.
>
>Thanks.
John,
I'm usng something like :
activate screen
lnMembers = amembers(aDEMembers,thisform.dataenvironment,1)
for ix = 1 to lnMembers
	if aDEMembers[ix,2] = "Object"
		with eval("thisform.dataenvironment."+aDEMembers[ix,1])
			if .baseclass = "Cursor"
				? cursorgetprop("SourceName",.alias), ;
					cursorgetprop("SourceType",.alias)
			endif
		endwith
	endif	
endfor
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform