Powerbuilder 2022R2
If a column in a datawindows is destroyed I see a empty column ( "": null ) in the json export
Is there a way to avoid this?
Thanks
Eric
Simplified code:
lds.dataobject = 'dw_line'
lds.modify("destroy column cs_key")
lds.settransobject( sqlca )
lds.retrieve( )
lds.exportjson( false )
If I change the SQL statement in the SQLpreview event nothing is returned anymore. Probably the only solotion is to except that we need to have a copy of the dw's to handle the columns we want in the json. Also checked if it was possible to delete a item in the json but could not find anything.
Thanks
Eric
Yes, if the dynamic SQL changes do not meeting your processing challenge, then multiple tailored DWO's would be the next best thing.
Regards ... Chris