Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set value to be empty independent on type('this.value')
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00300386
Message ID:
00300551
Views:
19
>The only thing I can think of that works universally is setting the value to null which is not really empty. To the best of my knowledge, to properly do this based on data type, you would have to use a case statement and the Type() function.

Mark,

I believe that you are correct, however using VarType() instead of Type() would execute faster.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform