Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word does not start
Message
De
27/10/2008 03:45:54
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01355544
Message ID:
01357290
Vues:
21
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]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform