Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Memory Variables
Message
De
23/07/2002 11:41:38
 
 
À
23/07/2002 11:36:51
Todd Brown
Teachers Credit Union
Granger, Indiana, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00681708
Message ID:
00681710
Vues:
16
This message has been marked as a message which has helped to the initial question of the thread.
>Is there a function that will tell me what field type a memory variable is? I have an activeX control getting information from a spreadsheet and the field type is either character or numeric. I need to know what type it is.
>
>Here is the line that captures the data
>
>Tmp = oXL.ActiveSheet.Cells(TmpSVRow,1).VALUE
>
>I am doing an IF statement and I need it to be a character field. Here is the if statement beginning. I have few lines that are numeric.
>
>IF ALLTRIM(Tmp) = "Runoff Balance Book"
>
>Thanks for your help
>Todd

Todd,

if( type('tmp') = T_CHARACTER ) && 'C' from foxpro.h
&& it is of type char
endif
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform