Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLDVAL return .NULL.
Message
From
18/06/2001 11:11:42
 
 
To
18/06/2001 09:58:57
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00520390
Message ID:
00520622
Views:
14
>>As I've learned, it surely seems to.
>>
>>But I wonder why when the table does not have NULL permissable in any of its fields. I would have thought that an APPEND BLANK in that case would surely put theequivalent of EMPTY() into each field.
>>
>>Regards
>>JimN
>
>I pressume the reasoning of the VFP team is something like this: "the previous value for this field is undefined". This makes sense, in a way...
>
>As for programming in actual practice, I found I had to use NVL() in some cases, to avoid certain error messages.
>
>Regards, Hilmar.

That reasoning is possible, Hilmar. But the record technically does 'exist', being the result of an APPEND BLANK and in this case the fields have 'known' values. At least that makes sense to me.

Regards,
JimN
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform