The PowerBuilder DataWindow control is a container for database originated data in a PowerBuilder application. It can display the data and optionally let the user modify it and send changes back to the database. In addition to the DataWindow control, the DataStore object provides a non-visual container for server applications and other situations where on-screen viewing is not necessary.
Questions tagged [datawindow]
212 questions
0
votes
1 answer
I cannot find the user defined action attached to a button created on a datawindow
I need to make some minor updates on a window . The main window has multiple datawindows on it. but i couldnt find the action that is triggered by the button on the datawindow that i want to update. I checked the events on the window. All user…

Mahogany
- 11
- 3
0
votes
1 answer
Adding tilde to datawindow setFilter string
I've been trying to filter a datawindow by using the argument product_id = 'Z108-20-6,3~10' and company_id = 14, but the setFilter function returns -1, which is invalid.
After looking at the docs and some Google search, I've found that the tilde…

ramon
- 23
- 2
0
votes
1 answer
Powerbuilder Get objects of Nested Datawindows
I have a datawindow dw_1
Inside there are 3 datawindows (nested): dw_1, dw_2, dw_3
I want a way to get the objects of the 3 datawindows.
This does not work (it prompts Incompatible property Object for type datawindowchild) because it is a Nested and…

PanosPlat
- 940
- 1
- 11
- 29
0
votes
2 answers
DataWindow Field Validation
I am supposed to put a validation to an existing Datawindow field. The requirement is as such. It is character of limit 2 and it is numeric. So whenever the user enters a number it has to be always two character limit or else it should pop a message…
0
votes
2 answers
How to handle Retrieval arguments type mismatch error?
Retrieve function when called with wrong parameter type shows error message. The error message does not show which DDDW, datawindow control or dataobject was not retrieved. The ugly error message show no sign of any datawindow control i can go check…

Shoki
- 21
- 12
0
votes
2 answers
Datawindow dragdrop event doesn't always return a reference to the control at the drop location
In short, I need to base some window behavior on the type of object a control is dropped on, after being dragged. This is all well and good as long as the target control at the destination is a column, but not if it is any other object.
Assume I…

Trashface
- 27
- 4
0
votes
2 answers
Enable buttons in datawindow for new row PowerBuilder
I have a datawindow with a row that contains a dropdown list, 2 buttons and some checkboxes. I want to enable the buttons after selecting something from the dropdown list. But I also need to insert a new row and enable the buttons for that row. How…

XLD_a
- 195
- 1
- 4
- 16
0
votes
1 answer
add Qrcode to powerbuilder 10.5 datawindow
We use powerbuilder10.5 - dataWindow to view Reports from Sybase Database ,
is There any way to generate QR Code to the and add it to the Report

Souhail Maatouk
- 53
- 5
0
votes
1 answer
Powerbuilder - Trying to importString a long string with a single double quote (")
importstring(ls_string)
The string is a tab delimited text that has a single quote. This single quote is causing an error when the string is imported into the DataWindow.
I tried to replace all occurrences of double quote with ~"or \" but both do…
user7208855
0
votes
1 answer
PowerBuilder Datawindow (report) shows momentarily then disappears on retrieve
We have a report that is designed to look like a two page form. Upon making changes needed by legal for the 2018 version of form the report shows momentarily after retrieve but then disappears. If you retrieve repeatedly it flickers and you can see…

Rich Bianco
- 4,141
- 3
- 29
- 48
0
votes
1 answer
Change Display Value in Radio Button Column
I have a radio button in datawindow and I want to change the display value using codes depending on command button I'll click. Is it possible? What function I can use? Thanks in advance.

m-a
- 9
- 6
0
votes
1 answer
dw_1.print(false) PDF generated is always blank
ll_printed = dw_1.print(FALSE)
IF ll_printed = 1 AND FileLength64(gs_TmpFile) > 100000 THEN
ls_run =gs_GhostScript_Path + "gswin32c -q -sDEVICE=pdfwrite
-sOutputFile=" + gs_TmpFile + ".pdf " + " -dBATCH -dNOPAGEPROMPT -dNOPROMPT-dQUIET -dNOPAUSE"…

sccydd
- 23
- 6
0
votes
2 answers
Powerbuilder change dynamically datawindow select
I have two radio buttons and one datawindow. By selecting one of them, the datawindow select must change dynamically. For example, when rb1 is checked the datawindow select is "select name, surname, age from Table1" and when rb2 is checked…

XLD_a
- 195
- 1
- 4
- 16
0
votes
4 answers
Getting the list of displayed columns in a DW
How do you get the list of columns that can be seen in a dw?
When I loop through the columns using dwobject.object.datawindow.column.count, I get all the columns in sql. Is there at least a way to figure out which of them isn't displayed?

Guy
- 325
- 1
- 3
- 18
0
votes
2 answers
How to enable button according to the number of checked checkboxes powerbuilder?
I have a datawindow with checkboxes and a button 'OK'. The button is disabled until at least one of the checkboxes is checked. The problem is that if I have more than one checkbox checked and I want to uncheck one the button disables. I wrote the…

XLD_a
- 195
- 1
- 4
- 16