Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine type of field
Message
From
30/01/2002 16:53:27
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
 
 
To
30/01/2002 16:45:37
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00613064
Message ID:
00613080
Views:
10
That did it.

Thanks


>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
Reply
Map
View

Click here to load this message in the networking platform