ggreen86 / XLSX-Workbook-Class

VFP Class to Create an XLSX Workbook without Excel Automation or Installed
46 stars 16 forks source link

GetNodeAttributeBoolean caused a "column does not accept null values" error #121

Closed DougHennig closed 1 month ago

DougHennig commented 2 months ago

I ran into this a while ago so I forget the circumstances, but this fixed it:

IF EMPTY(lcAttrValue)
*** DH 2024-05-26: return .F. not NULL to prevent "column does not accept null values" errors
*   llAttrValue = .NULL.
    llAttrValue = .F.
ggreen86 commented 1 month ago

Thank you -- I have added this to R46. I believe you added this fix to the hidden method GetNodeAttributeBoolean.

ggreen86 commented 1 month ago

Yes, it is in a later build.

From: Doug Hennig @.> Sent: Thursday, October 3, 2024 4:59 PM To: ggreen86/XLSX-Workbook-Class @.> Cc: ggreen86 @.>; State change @.> Subject: Re: [ggreen86/XLSX-Workbook-Class] GetNodeAttributeBoolean caused a "column does not accept null values" error (Issue #121)

I don't see that change in the R46 you sent me 10/01/2024. Is it in a later build?

— Reply to this email directly, view it on GitHubhttps://github.com/ggreen86/XLSX-Workbook-Class/issues/121#issuecomment-2392324652, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGWB33KSBOJCDCTWHDCSIIDZZWV25AVCNFSM6AAAAABMS5XZCCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJSGMZDINRVGI. You are receiving this because you modified the open/close state.Message ID: @.**@.>>