General information
Title:
Handling null date save/display
Hello all,
I'm sure this has been beaten to death, but I have not found a solution posted...
I'm trying to write a custom textbox control that is to be bound to a date field that allows NULL. As we all know, VFP will store empty date if you clear out the field. What I want to happen is to store NULL back if the field is empty. I have tried creating a value_assign method, but that seems to keep me into an infinite dirty buffer.
I know this can be handled in code to replace empty dates with null just before a tableupdate, but I would ideally like to have the textbox control handle this for me.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only