Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word does not start
Message
From
27/10/2008 03:45:54
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01355544
Message ID:
01357290
Views:
22
Hi Naomi,

now I figured out why I use the complex TYPE / ISNULL form.

VARTYPE(_screen.ACTIVEFORM) wiil fail if there is no active form. (Just try on command window)

Try VARTYPE(_screen.ACTIVEFORMx) too

Agnes

>I think vartype came in VFP6, so it this code has a long history, it explains it.
>
>>Could it be that in the days of yore VARTYPE does not work with unkown names? VFP 5.0 or so? I feel puzzled.
>>
>>>Yes :) much less typing :)
>>>
>>>>You mean instead of
>>>>
If  !TYPE("loWord") = 'O' or ISNULL(loWord)) THEN
>>>>?
>>>>
>>>>(+.+)(-.-)(_ _)
>>>>
>>>>Agnes
>>>>
>>>>>Just use vartype() :)
>>>>>
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Reply
Map
View

Click here to load this message in the networking platform