Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memory Variables
Message
From
23/07/2002 11:41:38
 
 
To
23/07/2002 11:36:51
Todd Brown
Teachers Credit Union
Granger, Indiana, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00681708
Message ID:
00681710
Views:
15
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform