Discussions tagged DataWindow

Is there a tool or a recommended sequence of steps to take a grid DW with mismatching columns and return it to a state where like fields and headers are in the same column? Over the years customizations of grids have made our DWs appearing unruly in...
Hi all, I have a program that must be able to retrieve data based on the previous day's "Approved Date."  I am using PowerBuilder 2017 and I am accessing a DB2 database.  The only retrieval argument in my query is of DateTime type (see query attache...
Hello, since I migrated an old app developped with PB 7 to PB 2019, I have a big problem with some SQL queries from my Datawindows when executed on a database under Oracle 11g. I get this message : 1722 - select Error : SQLstate = 22005.  But the s...
Dear Experts, I want to give the users of my program the ability to type criteria for a Select query in a DataWindow.For this purpose I added the following command in an Button Clicked event: dw_xy.modify( "datawindow.querymode=yes"). If the button...
I have an application that uses the native PDF method of saving a datawindow report as a PDF.  It has been working fine until about a week ago it started giving a return value of -1.  Nothing has changed code-wise.  I checked to make sure that the us...
Hi.I have a datawindow which worked fine in PB12.6, but is missing data after retrieve in PB2019r2.retrieve: dw_data.retrieve(lnDstid, lnJmtFrom, lnJmtTarget, lnTimeTarget, lnTimePrefix) = result = some data is missing if i get the sql-select like d...
Hi,I have a DW, where in one of the column is string, with editmask ####.00When I'm setting a value in DW like 1234.56, insert into database lookis like '123456' , and i would like to looks like 1234.56. I've tried GetItemFormattedString, and somethi...
PowerBuilder 2017 R2 Build 1769 Blob size = Len(lblob) We have a window which retrieves multiple reports in one go and then using a single datawindow allows the user to switch between the reports as required. We do this by saving each report into a...
For quite some time there is an issue with column suppression on grids with auto height columns and auto height rows When reporting with suppressed columns on a grid, the suppressed columns still retain the row height of the visible first value in t...
Hi, It looks like ImportFile()    (text! and csv!)   does not work correctly with UTF8 encoded files. ALL European characters like ÆØÅ æøå are corrupted.   Do I have to specify and encoding argument ?   Thanks //Steen  ...
Dear Experts, I am facing a weird problem in drop down list box values in Powerbuilder 2017 R3 Build 1880. Our application gets the list of printers installed in a machine and lists it in a dropdown list box. A variable is used to collect data val...
Howdy All, Recently one of our customers started experiencing repeated slowdowns when opening windows, slowdowns that were not present a few months ago. We investigated and determined that the slowdown was seemingly occurring during datawindow retri...
PB 2019 R2 Build 2353 OS with problems: Windows Server 2008 R2 Standard, Service Pack 1 OS's that work fine: Windows 10 Enterprise and Windows Server 2012 Standard I recently upgraded an app from PB 12.5 to 2019 R2 and am seeing an issue with data...
Hello, I have a datawindow with column with Arabic characters, when I do dw.SaveAs PDF!, it looks like the arabic characters are changed its order in resulting .pdf file, however when I print the same dw on PDF printer - Arabic characters look the s...
Hi all, Thanks for spending your valuable time... I have an issue in the ItemChanged Event.  Consider that I have a dropdown data window having id genname in the list. The data type of id is numeric and genname is  string. The data column displa...
I am preparing for a Powerbuilder upgrade from 8.0 to 2019. I will be moving embedded sql to stored procedures and db functions. Is the sql in datawindows considered embedded sql and is it a good practice to move it to stored procedures and have the ...
I have a data window which I am saving as html.  In making some revisions to the application I have noticed a difference in the output html file.  The pre change version of the html has the title tag as titleOrder Inspectionstitle The post change v...
Hello,I have column "period", i set an editmask like ### to prevent enter a non-digits characters.When I clear this column (i expected null value in table) - there is always zero.What I want to achieve: column with numbers only and null - when null t...
Morning I hope you can help, I am trying to search / lookup records in a name field on a database. But i am having a problem with special letters  for example below - i want to be able to search 'Caus' and have the below show up ? so the special ch...
Hi All,Boolean operators AND, OR, and NOT have different precedence in DataWindow expressions than in PowerScript.Also, DataWindow expressions have SQL like operators that don't exist in PowerScript. I advise you always use parenthesis to avoid unde...

Find Questions by Tag

.EXE .NET 6.0 .NET Assembly .NET Core 3.1 .NET Core Framework .NET DataStore .NET Std Framework 32-bit 64-bit ADO.NET AEM AI Algorithm Amazon AWS Android Apache API APK App Store App Store (Apple) Appeon Workspace Appeon Xcelerator Plug-in Architecture Array ASE Asynchronous Methods Authentication AutoBuild AutoCompiler Automated Testing Automation AutoScript Azure Barcode Base64 Batch BigData BLOB Branch & Merge Browser Bug Build Button C# C# Class Importer C# Editor C# Model generator Calendar Camera Certificate Chrome Citrix Class Client Client/Server Cloud Cluster Collection COM Command Line Compiler Compression Computed Field Configuration Controls Cookies Cordova Crash Cross-Platform Crosstab CSharpAssembly CSharpObject CSS CSV Cursor Data Database Database Driver Database Painter Database Profile Database Provider DataObject DataSource DataStore DataStore (C#) DataStore (PS) DataType DataWindow DATE DATETIME DB2 Debug Debugger Debugging Deployment Design DLL DO-WHILE Dockable Docker Documentation DOUBLE Download DragDrop Edge Edit Style Editor Elevate Conference Email Embedded SQL Emulator Encoding Encryption Enhancement Request Entity Entity Framework ERP Error Event Event Handler Event Handling Excel Exception Export Expression External Functions F# Field File File Access Filter Firefox Firewall Font FOR-NEXT Foreground Format Function Garbage Collection GeoLocation Git Graph HANA Hash Header HTML/5 HTTP/S HTTPClient Icon IDE Identity IIS IMAPI Import InfoMaker Inheritance Installation Integer IntelliSense Interface Internet Internet Explorer iOS IPA iPad iPhone IWA J# Java JavaScript JBoss JDBC JOIN JSON JSONGenerator JSONParser Kestrel Label Lambda Large File LDAP Library License LINQ Linux OS Load Balancing Localization Localized PBVM Log In Log Out Logging LONG LONGLONG macOS MAPI Maps MDI Memory Memory Leak Menu Merge MessageBox Messagging Method Migration MIME TYPE Mobile Model ModelStore ModelStore (C#) MSOLEDBSQL Multi Threading MVC MySQL n-Tier Namespace NativePDF NVO OAuth ODATA ODBC Office Offline OLE OLEDB Online Open Source OpenAPI OpenSSL Oracle OrcaScript Other Outlook Output Package Parameter Patch PayPal PB Classic PB Native PB.NET PBC PBD PBDOM PBG PBJVM PBL PBNI PBORCA PBVM PBX PDF Performance Permission PFC Picture Pipeline Play Store (Google) Plugin Popup Port POST PostgreSQL PowerBuilder PowerBuilder (Appeon) PowerBuilder (SAP) PowerBuilder Compiler PowerBuilder Runtime PowerClient PowerScript (PS) PowerScript IDE PowerScript Migrator PowerServer PowerServer Mobile PowerServer Toolkit PowerServer Web PowerServerLabel Print Properties Proxy Publish PULL PUSH Query Regression Release Renew Resize Response REST Retrieve RibbonBar RibbonBar Builder Rich Text Roadmap RPC Runtime Packager SaaS Scaffolding Script SDI SDK Security Server Service Session Single Sign-on Size SMTP SMTPClient SnapDevelop SOAP Sort Source Code Speech Recognition SQL SQL Anywhere SQL Server SqlBuilder SqlExecutor SQLite SqlModelMapper Storage Stored Procedure Subscription SVN Swagger Syntax TabbedBar TabbedView Tablet TabPage Target TE Control Testing Text TFS Theme TIME Timer TLS/SSL Tomcat TortoiseGit TortoiseSVN Transaction Transparency Trial Trigger TRY-CATCH TX Control Type UI ULONG UltraLite Uninstall Unit Test Unit Testing UNIX OS Update Upgrade Upload URL User Center User Object UWP Validation VARCHAR Variable Versioning Visual Studio Visual Studio Code VM Voice Warning WCF Web API Web Extensions Web Service WebBrowser WebForms WebLogic WebSphere WildFly WinAPI Window Windows OS WinForms Wizard Workgroup Workspace WPF XCODE XHTML XML Zoom