Hi All,
I have a customer using Progress OpenEdge with the UltraDayView control version 13.1.20131.2089, and the controls works fine most of the time. But occasionally the end user reports an error displayed in a dialog (see attached):
Appointment Data Binding Error Appointment could not be updated from the data source because one or more values were invalid. Verify that the fields that contain the values for the 'StartDateTime', 'EndDateTime' and 'Subject' properties do not contain DBNull.
When this happens after the user responds to the message OK button, the application continues as normal. The customer has told me that he doesn't pass Null values to the control, so I'm trying to find ways that this could be debugged. Or perhaps how a stack trace can be generated for the error in order to determine exactly where in the code the problem is being triggered? Does anyone have an explanation for the error? Any suggestions or comments are appreciated.
Thanks,
Paul.
Hi Brian, thanks for the quick response. I'll look into this and get back to you.
That error is displayed when the 'ShowMessageBox' property of the event args for the AppointmentDataError event is set to true, which it is by default.
You can handle that event and get more information about why the error occurred, for example, the PropertyId property of the event args tells you which property it choked on, and the BoundValue property returns the raw data that was obtained through the property descriptor.
If you still come up short after that post again and we'll try to help figure out why that's happening.