Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How Do I
Message
 
 
To
27/01/1999 02:06:24
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00180248
Message ID:
00180737
Views:
19
Walter,

I'm not sure you see the point:

create cursor temp ( iID i, cFirstName c(40))
insert into temp values ( 0, "Walter" )
scatter name oRow

? type( "oRow.Name" ) && U
? type( "oRow.cFirstName" ) && C
? type( "oRow" ) && O

oRwo is indeed an object, it has no .Name property to test

FWIW my IsObject() udf is:

lparameter roObject

return( ( type( "m.roObject" ) == 'O' ) and ( ! isnull( m.roObject ) ) )


>Sure, but then you would use something like TYPE("Table.fields")=cType
>I was only purposing anotherway for
>
>lExist=TYPE("oObject") AND !ISNULL(oObject)
>
>to determine if a object exists.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform