Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dataenvironment and Views
Message
From
14/07/1998 13:14:11
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
14/07/1998 12:54:41
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00117227
Message ID:
00117239
Views:
19
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform