Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
String + .NULL.
Message
From
05/05/2002 12:09:08
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
05/05/2002 04:54:18
Eugenijus Rimkus
SPAB Siauliu energija
Siauliai, Lithuania
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00652874
Message ID:
00652897
Views:
16
>Hi,
>
>I have two fields, and their values type are string and .NULL.
>how i can make one string from these values. (new_var = string + .NULL.)
>
>Thanks

I would use new_var = string + nvl(String_That_Might_Be_Null, "???").

If the second part is not null, it will be copied as is. If it is null, "???" (which many a user will understand as "unknown value") will be replaced.

HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform