[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Workaround for DBNull defect?

  • Thread starter Thread starter Laura Stern
  • Start date Start date
Status
Not open for further replies.
L

Laura Stern

Guest
This looks like a bug. If you MESSAGE out System.DBNull:Value, it will show the Unknown value (?). What is happening is that the right-hand-side (System.DBNull:Value) is being converted to ? when the value is returned from .NET to the AVM. Then we send it back to .NET to assign it to the column and we translate Unknown back to null, not to DBNull. I'd have to debug to see what System.DBNull:Value actually is internally. The question is whether it is something that we can represent inside the AVM other than the Unknown value. I can't think of a work-around at the moment. I'm kind of surprised this hasn't surfaced before. I thought we did have use cases using DBNull. Does someone else out there know of a way to code this that works?

Continue reading...
 
Status
Not open for further replies.
Back
Top