Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine type of field
Message
From
30/01/2002 16:45:37
 
 
To
30/01/2002 16:39:23
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00613064
Message ID:
00613069
Views:
14
This message has been marked as the solution to the initial question of the thread.
Function you're looking for is TYPE

? TYPE('table.lastname') && Displays C
? TYPE('(12 * 3) + 4') && Displays N
? TYPE('DATE( )') && Displays D
? TYPE('.F. OR .T.') && Displays L
? TYPE('ANSWER=42') && Displays U
? TYPE('$19.99') && Displays Y
? TYPE('nTest') && Displays N
? TYPE('cTest') && Displays C

Greg

>Is there a function to return the type of field in a table. We need to know if a field is a Character field, Numeric, etc...
>
>Thanks,
>
>Jerryt
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform