Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FYI; Problem with PADL; .NULL. in SELECT SQL
Message
 
 
To
22/06/2009 08:52:56
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01407500
Message ID:
01407528
Views:
49
>PADR(NVL(i1,""),11) is wrong for .NULL. value
>
>See message#1407524
>
>Agnes
>
I'm not sure what do you mean here, it works OK for me.

I just tested TRANSFORM function too, it also returns NULL when we pass NULL

lcD = 'test'
lcD = NULL
?MESSAGEBOX(TRANSFORM(lcD))

It is not mentioned in Help, but I think this behavior with NULLs is quite predictable.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform