Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLDVAL return .NULL.
Message
From
18/06/2001 09:50:34
 
 
To
18/06/2001 09:00:35
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00520390
Message ID:
00520567
Views:
20
>>>Yes, that's why I spent over an hour tearing hair out - I checked every which way to Sunday to verify the values but never confirmed until desperate what OLDVAL was returning .NULL.
>>
>>Don't really know what to suggest - just a couple of SWAGs:
>>
>>- is it possible your table is corrupted, or somehow actually contains a .NULL. even though it should not be possible?
>>
>>- has the table record pointer been at EOF() at any time?
>>
>>- any sort of database trigger etc. in place?
>
>I think OLDVAL() might also return .NULL. for a new record.
>
>Regards, Hilmar.

Hilmar,

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

Click here to load this message in the networking platform