Discussions tagged DataWindow

Hello, support I need to know how to set up a page size for DW, which is being printed on a continuous sheet.  We are talking about a cash register app, which is printing long receipts. I need to avoid page breaks even if there are 200 rows in the ...
Hi PBers.....! I recently tested / used the dw.ExportJson() combined with JSONPackage and I am starting to feel that it's time to move on, from restful XML services to JSON.  What worries me is that I didn't find any way to limit the data exported ...
Hi, when the program detects an error while saving, I want to place the focus on the column (and row) where the error occurred. This works quite well with one exception: If the focus is on a DW button in the DW to be marked, both SetColumn and SetFo...
Hi I am using PB 2019 using an ODBC connection to a DB2 database I am having problems with DataWindow retrieves on a 64bit build. I have literally built the simplest application with a DataWindow, a DataWindow control on a window which retrieves th...
Here is another weird SyntaxFromSQL If I select pmf.corp, pmf.branch from pmf; I get column=(type=char(2) updatewhereclause = yes name=corp dbname="pmf.corp") column=(type=char(2) updatewhereclause = yes name=pmf_branch dbname="pmf.branch") If I ...
I think this is a bug but I thought I post it here first it case I'm just wacky. I am using SQLCA.SyntaxFromSQL to build a DW on the fly. Since all the key fields were included it makes the dw updatable. This works fine except in the case where ther...
I am trying to make some xml templates to import data through from an XML file. I noticed that you can not reference control that is not visual. And while I understand that a control is something visual, I don't understand why do I have to put a col...
Hi, This has to do with datawindows. I'm currently using PB17R3 but I don't believe the problem is limited to this release. I'm attempting to dynamically control the background color of columns based on relative values within the datawindow. Someti...
Hi, I can't find any way how to import JSON data to nested DataWindow report. Is here anyone who knows how to do it? I can import data to the main DataWindow, but I can't find out any way how to import it to the nested one. It just stays empty now. ...
I have a DW where I'm trying to retrieve some rows from a table called DONOR, with two retrieval args (MemberNumber int, Email String) with SQL like: SELECT ...FROM DONORJOIN ...WHERE (member_number = :MemberNumber and :MemberNumber > 0) OR      ...
Hi all, we try to get data into a DataWindow over stored procedures. Further, we also want to be able to save the data via stored proc. The dialog for the first generation of the DataWindows Objects, where the procedures can be selected, does not sh...
My customer wants me to change a grid dw to show a field on a line by itself and be wider then col_1 - ala Excel. so the data would look like     customer, order_no row 1 "Slimy Sales Company with a very long name", "" row 2 "", "123456" so I co...
We are on PB 2017 LTR and looking for simple syntax to convert a simple powerbuilder array to and from Json so we can save the array values in simple Json , then reload the array directly from JSON. We never used json before and a little inexperienc...
Hi everyone, using PB2019 build 2170 how do you keep consistency in datawindows when using themes and custom code for background color ? See this example : how to make that F2 look like F1 ? Thanks for suggestions. Philippe....
We are looking for the best techniques - and perhaps sample code which would allow users to import spreadsheet data into a datawindow. This would have to be somewhat dynamic in that the format of the spreadsheet could change from one spreadsheet to ...
Hi PBers The same syntax is used to create a datastore and a datawindow.  The datastore succeeds, the datawindow fails but without any error!   The syntax is correct because, the datastore is created successful and because I am able to create i...
We are trying to export a report to .xlsx format with a PB 2019 application using PowerServer 2020. Here is the GetFileSaveName call we are using for the dialog. GetFileSaveName ( "Save As", ls_path, ls_file, "", "Excel with headers (*.xls),*.xls,Ex...
We've run into an issue after merging a git branch and refreshing a pbl in powerbuilder 2017 R3. This happend on two datawindows in the same pbl, but we can't reproduce this issue. Hence the low priority. I've attached two screenshots that contain t...
Hello, PB 2017 R3, 1915 with Postgresql 11.6, Postgresql ODBC Driver(Unicode) 11.01 1.  Open a datawindow in the datawindow painter.2.  Click the Datasource.   3.  Design - Conver to Syntex.4.  [Mis Spell] Type a field name.5.  Close the data sourc...
I have a TreeView SQL Select Datawindow.  My select statement includes a computed column.  The Edit Syle Type for this computed column is Checkbox.  When the computed column is placed on the Detail (leaf node) band within the datawindow, the checkbox...
  • Page :
  • 1