Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG: only null values in SELECT member can to used
Message
 
 
To
04/05/2004 04:58:08
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00900095
Message ID:
00900725
Views:
19
Fabio,

If the object conditionally constructs then your WITH createobject() will throw an error. This code will not error:
myRef = createobject()
if ( vartype( m.myRef ) == "O" )
   with m.myRef
   endwith
endif
>You can explain the difference between a) and b),
>I do not see the impediment :
>A)
>
>myRef=CREATEOBJECT(...) && this fail
>   WITH M.myRef
>..
>
>
>B)
>
>WITH CREATEOBJECT(...) && this fail
>...
>
>
>I must capture the error and resolve it in both cases.
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