Discussions tagged DataWindow
Scrolling in DW's
- Last updated 1 week ago
- Chris Pollach @Appeon replied 3 days ago
Hi,
Is it possible to adjust the scrolling behavior of the mouse for data windows independently of the Windows setting? Page by page or number of lines.Regards...
Hi PB Experts,
Hope Everyone is doing well in this pandemic times.
I have bumped into an issue and can't find any suitable solution so I decided to ask for your help. Let me explain the situation here.
I have a dw_1, inherited from uo_dw, and it ...
SNC (SQL Native Client), db compatibility level and datetime field in PK
- Issue
- Last updated 1 week ago
- John Fauss replied 1 week ago
Hello,
We have discovered the following: using SNC (SQL Native Client, provider SQLNCLI11 of course), so when a table has datetime column in primary key and database compatibility level is set to, for example, 130 (SQL Server 2016), datawindow based...
How to have a single function works on both a datawindow and a datastore?
- Resolved
- How-to
- Last updated 1 week ago
- Benjamin Gaesslein replied 1 week ago
Hello (and Happy New Year),
We have a simple function that iterates over the rows of a datawidnow and fill some objects from some of the items in the row. This function looks like the following:
public subroutine fill_recipe_components(datawindow a...
Itemchanged on DDDW column not allowing immediate action
- Resolved
- How-to
- Last updated 3 weeks ago
- John Fauss replied 2 weeks ago
I saw a previous thread that was related to this but nothing there worked for me.
I have a DDDW on a DW, that has some rows with italicized display values, and some non-italic, based on an undisplayed field in the DDDW.
I would like the DW to immed...
How to create crosstab datawindow object at runtime?
- Resolved
- How-to
- Last updated 3 weeks ago
- Berka Frenfert replied 2 weeks ago
Hi,
What is the easiest way to generate source for a Crosstab DataWindow based on query user provide at runtime?
Does PB 2019 or later allow SyntaxFromSQL() with "style(type=crosstab)" ?
Who want to share code if have done crosstab generation at r...
Datawindow column Alignment
- How-to
- Last updated 1 month ago
- Chris Pollach @Appeon replied 4 days ago
One of the main problem that still exists even in new versions is right to left arrangement of columns in datawindow . I mean in countries which write Right to left(RTL) they expect that columns in a datawindow must be aligned from right to left but ...
Realignment of Grid Datawindow columns
- How-to
- Last updated 1 month ago
- Miguel Leeuwe replied 2 weeks ago
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...
DB2 TimeStamp Retrieval Argument
- How-to
- Last updated 1 month ago
- Chris Pollach @Appeon replied 1 month ago
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...
Datawindow Retrieve Error : 1722 - select Error : SQLstate = 22005
- Issue
- Last updated 1 month ago
- Chris Pollach @Appeon replied 1 month ago
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...
DataWindow: Query mode doesn't allow entries
- Resolved
- How-to
- Last updated 1 month ago
- Konrad Kaltenbach replied 1 month ago
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...
Datawindow retrieve parameter not working properly
- Issue
- Last updated 2 months ago
- Miguel Leeuwe replied 2 months ago
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 li...
Getting value from DW with editmask
- How-to
- Last updated 2 months ago
- Michał Misijuk replied 2 months ago
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...
How can I get around the Row Size Problem with Suppressed columns
- How-to
- Last updated 2 months ago
- Chris Pollach @Appeon replied 2 months ago
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...
datawindow importfile() UTF8 (all European characters are corrupted)
- How-to
- Last updated 2 months ago
- Mark Goldsmith replied 2 months ago
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
...
Dropdown List ignores a forward slash in data value and display value
- Resolved
- Issue
- Last updated 3 months ago
- Ganesan Rajan replied 3 months ago
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...
Is setting ACCESSIBILITY=0 in the PB ini file a valid long term solution?
- Resolved
- Advice
- Last updated 3 months ago
- Ken Guo @Appeon replied 3 months ago
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...
Pictures Not Showing on Datawindow Buttons in Win 2008
- Resolved
- Issue
- Last updated 3 months ago
- Chris Pollach @Appeon replied 3 months ago
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...
- Page :
- 1