Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a VFP function to...
Message
De
28/06/2006 14:54:45
 
 
À
28/06/2006 10:07:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01132372
Message ID:
01132540
Vues:
17
>>
>>LOCAL lcControl
>>lcControl = IIF(UPPER(LEFT(Object.ControlSource,2)) == [M.],SUSBTR(Object.ControlSource,3),Object.ControlSource)
>>DO CASE
>>   CASE TYPE([m.]+lcControl) == [U] AND; && Not a memory variable
>>        TYPE(lcControl)      #  [U]
>>        REPLACE (lcControl) WITH WITH ltNewDateTime
>>   CASE TYPE(lcControl)      == [C] && Memory variable
>>        STORE ltNewDateTime TO (lcControl)
>>OTHERWISE
>>        *** something wrong
>>ENDCASE
>>
>>(not tested for all occasions)
>
>I guess you ment to use VARTYPE() and not TYPE(), with TYPE() you must enclose the variable names with apostrophs. (I know that you know that!)

UPDATE: Ignore that. I didn't read all messages after yours :o)))
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform