Questions tagged [datawindow]

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.

212 questions
1
vote
2 answers

PowerBuilder: Checkbox in DataWindow

I have a checkbox in the DataWindow, It can be checked and unchecked. The default value in the db is 0. When it's checked, the db value is updated to 1 and on uncheck, the value is updated to 0 again. However, I want to update the database only if…
Billa
  • 1,963
  • 5
  • 18
  • 23
1
vote
0 answers

Composite datawindow

I have a composite datawindow, running great on PowerBuilder Classic 12.5. I moved to .net and it is no more working: it displays nothing, either in the application or in the IDE (with preview/retrieve) The problem does not always happen: with some…
carlo.borreo
  • 1,344
  • 2
  • 18
  • 35
1
vote
1 answer

How to create user access using shortcut bar and xplistbar

Good afternoon Everyone, Please me to ask, How to create user access when IM using shortcut bar,and inside shortcut bar i use xplistbar, for example, shortcut bar is for departemen name, and in xplistbar is for master, transaction,report, please…
Herman
  • 11
  • 2
1
vote
2 answers

how to prevent some columns from being highlighted when selecting a row

I have a semi-dynamically created window ( and use PowerBuilder 10.5 ). Now there are a couple of columns which can have different colours and I want to see those colours when selecting a row. However I don't know how to deselect these columns and…
marinus
  • 39
  • 1
  • 1
  • 4
1
vote
1 answer

Highlight Rows from find Method in Powerbuilder Datawindow

I am new to powerbuilder. I tried creating a datawindow and fetch some details. I put a button to find rows that satisfies a specific expression and it works good. Now i need to highlight the result set of rows from the find method. Can anyone help?
Christy
  • 11
  • 1
1
vote
1 answer

Problem after adding a new database column to a Powerbuilder DataWindow

After adding a new database column to a DataWindow, the DataWindow no longer diaplays in it's Master Form when the program executes. Any ideas what I'm doing wrong here?
Phil
  • 11
  • 1
1
vote
1 answer

PowerBuilder - Objects in nested report

just want to ask, in PowerBuilder, how to modify the properties of the object inside the nested report. The main DataWindow is not a composite DataWindow, it's only a tabular. I'm having a hard time modifying the Visible property of 2 column inside…
icing
  • 11
  • 2
1
vote
1 answer

How to handle buttonclicked event of DDDW?

Situation: I have a button in my DDDW and i want to capture buttonclicked event. Problem: when i click on the button in DDDW the buttonclicked event of DW Control is not fired and ItemChanged event is fired for DW control. Question: How do i…
Shoki
  • 21
  • 12
1
vote
1 answer

Power Builder - Datawindow expecting string

I am having this error in my datawindow search function "Expecting STRING expression" Can anyone help me solve the issue. Below is my codes. In my headerlist ue_search () returns (none) event string s_criteria openwithparm(w_fm210search,…
x'tian
  • 734
  • 2
  • 14
  • 40
1
vote
2 answers

Dropdown datawindow display column behavior versus filter

I have a datawindow containing x number of rows. The first column -- which I'll call "employee" -- is a dropdown datawindow with a data column pointing to an employee ID field, and a display column pointing to an employee name field. When adding a…
Trashface
  • 27
  • 4
1
vote
2 answers

Why does Bitmap in Column Header not update it's x position when column is moved? PowerBuilder 10.5

I have a DataWindow that has a number of columns. One of the columns have a bitmap as as a header instead of text. I can move each of the other columns by dragging and dropping to change the column order but I when I try to move the column with the…
TrewerT
  • 11
  • 1
1
vote
1 answer

Doing a database lookup in formatting expression

Where it says "blob_curr = 1" I need to do a check to see if the object id exists in another table. I have no idea how to do this. This is an application that was written several years ago and I am a co-op student who was asked to make some changes…
jaredw
  • 55
  • 1
  • 3
1
vote
1 answer

Powerbuilder get DataStore Syntax?

I have created a dynamic datastore and I need to destroy/create bitmaps during operation (invoices logo depending on the company selected) I destroy all bitmaps with Modify and create new ones with Modify as well. Although Modify returns empty…
PanosPlat
  • 940
  • 1
  • 11
  • 29
1
vote
2 answers

How to change datasource of datawindow from procedure to query without changing source?

PowerBuilder 12.5 I do not want to edit the datawindow object source code and i want to change datasource of the datawindow where i used a stored procedure. i want to use a different stored procedure or query. How to do that without editing the…
user7022367
1
vote
1 answer

Checkbox on header group Datawindow Powerbuilder

Why checkbox is not working on header group?but it is working on detail. Is there a code to manipulate the checkbox properties inside the header group of datawindow?
Mat
  • 17
  • 5