Greetings community,
In the past few months, our company migrated multiple applications from Powerbuilder 9 to Powerbuilder 2019.
We did encounter something interesting: for varchar(max) and text column types, on our MSSQL database, all datawindow fields of those types are blank.
Powerbuilder 9 treats text/varchar(max) columns as char(4099) inside of the datawindow syntax.
While doing a series of tests we noticed that altering the datawindow column to char(32000) actually displays the content.
My two questions are the following:
- Is the fact that our text field is blank a bug? Shouldn't it display the content anyway?
- We have hundreds of datawindows that would need changes, how could we achieve this efficiently?
I will also add that we tried this with both "SNC SQL Native Client" and "MSOLEDBSQL" connection driver.
I thank you in advance.
Regards.
Another alternative is to use PBLPeeper if I'm not mistaken. There should be a link somewhere on this forum if you search on pblpeeper.
If not let me know, I have it somewhere.
regards.