- P Laceholder
- PowerBuilder
- Friday, 4 March 2022 10:24 AM UTC
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.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.