Featured Questions

A recent post included some PowerScript code, and I thought I would pass along a tip for pasting code snippets that produces a slightly more readable result than simply pasting code into the website's text editor. The toolbar contains a button to as...
Saw this and thought it was perfect. Note the angry mob in the background on panel 4.   :) ...
Hi all PB 2022 R3 windows 10  Can anyone tell me how i can open a PDF file within a window in my application or the best way to view a pdf withing the application, i may be being a bit stupid but i am struggling  thanks in advance as always   An...
We are using PB17 and SQLAnywhere 17 We have a generalized routine whereby we can pass a SQL query which takes one argument. The problem is that some queries need to reference the same argument more than once. As we understand it - if you use the ...
I am upgrading from 12.6 Classic PowerBuilder to the latest 2022 R3 release. Our application uses stored procedures via ODBC connection to the DB2 tables on the Mainframe. The application verified the user log on,  so I know it can connect.   It ...
Hello, Using Pb 2022 R3 build 3356 One of the user wants to convert the input characters to a string field either to uppercase or wordcap based on the option given in a setup window. Say, if the setupoption is set to UPPER, meansthe input value of...
Hi All, I hope you're well. First, I'd like to mention that I'm not a PowerBuilder developer, but I've been tasked with migrating an old application from SQLAnywhere to PostgreSQL. Without much guidance from the client, I've encountered several conc...
There does not seem to be an option to push to MAIN or Origin/Main repository, only MASTER or origin/master. How can I push code to the GIT Main repository instead of Master repository in PB 2022 R3?...
Hello! Can someone tell me the meaning of this error message? And how to fix this? I get this everytime I want to add a local Project to Git ("Add to source control") Error:Failed to decompose PBL: C:\Client\client.pbl errorcode:301. Thanks!...
I'm getting an error message when trying to perform a Git Pull from the repository on the server: Git detail error info: Cannot locate remote-tracking branch 'origin/master'Git client error code: Requested object could not be found. Because of inval...
Hi, I have a PBNI/WPF external component and my target is x64 (no need to support x32) environment. Using PB2022R3, build 3356 and Visual studio to create the component.. Then I use pbx2pbd220 to get the PBD from the PBX. My question is,  compilin...
I have a question about the SQLPreview Event of DataWindow When you want to skip your current query based on a specific condition, for example, if I want to skip a DELETE query from being sent to the database, I can return 2 from this event, and it ...
PBAutoBuild fails with JSON syntax error. Client/Server App Scenario 1: Build pbl's from GIT into Workspace Setup 1 is: SourceControl = GIT Encoding = UTF-16 LE BOM Start of JSON file: { "MetaInfo": { "IDEVersion": "220", "RuntimeVersion": "22...
Hello, In digging through my code we have a function that is identified as: FUNCTION int OCIChangePassword(ref string ls_connString, ref string ls_user, ref string ls_old, ref string ls_new, ref string ls_errString, Uint li_outputsize ) & LIBRA...
Trying to start PB 21 and it halts saying a valid runtime is not found.  The runtime is in the common folder. Any help would be appreciated.  ...
Hi Leaders/Members   I have made the option for "GeneralPBD" =  False in the json file of PB2022, But when I am executing pbautobuild220.exe /f test.json , It keeps creating PBD which we don't need, we need single EXE to have everything.    Backg...
hi all, Sorry I'm not good in VS C#, I just want to complete my job by importing C# Certificate class library into PB and hope anyone can help me. I get an solution from some where that can hashing Certificate. Would like to know how we can convert ...
*Phenomenon: Need to detect Triple Click similar to DoubleClicked and Clicked Events in Powerbuilder. Is there any way to detect the triple click in powerbuilder. Some of our clients needs functionality with Triple Clicks in Editable Fields in Dat...
My application is very slow when i am doing select, insert. When i am navigation from one window to another i don't have a problem with. Where am i going wrong?...
Hi, In pb2022 r3 there's some newly added stuff to the richtext txt control v30. Like for example "TargetInsert()" Regretfully the help doesn't seem to explain anywhere what a "target" is. Can anyone explain? TIA...
Chinese characters couldn't be displayed when querying a DB2 table in PowerBuilder. Could someone help on this? Thanks.  It could be displayed when querying in DB2 command windows....
We have a SQL Server procedure with 20K lines of code. We will execute the procedure 18 times and syntax is  created dynamically from PowerBuilder. Attached the dynamic query. If the query is executed from SSMS there is no issue, it is inserting int...


There are no discussions available here currently