Discussions tagged PowerScript (PS)

Like many of you I need to be able to close a tab page using the standardised close button located on the tab-page (like in any browser) However that feature is NOT available in PB and will not be for the next 1.5 - 2 years (at least) even though it...
Hello,I'm in dire need of help.A grid dwo has PFC sort service enabled.As the user expands a grid column, the pfc_sort service triggers and changes sort statement to the column clicked.The user is not happy. I've tried to catch the pointer (Cross!) ...
Wondering if anyone has a solution to an issue I'm having... I'm getting signature data from a pin pad in data-point format (not a bmp). I can graph this data using a graph datawindow and fill in the gaps to give the appearance of a solid line. The ...
Dear Experts, I want to get the file version and the product version (Major, Minor, Build, Revision) of the application built by PowerBuilder and date and time when it was built. How do I get these informations with PowerScript functions? In Visua...
Dear Experts, using PowerBuilder 2019 R2 Build 2353, I tried to save the content of a DataWindow in a PDF file. Page 1 is generated fine.But from page 2 on it seems that all columns except the last one from pages 1,..., n-1 are printed on page n...
Hi, I'm having some difficulty finding the correct syntax to change the transparency property of the entire datawindow's band (detail band). DW has no groups, just a standard grid datawindow listing excel-like rows. If I do dw_import.Modify("trade...
Dear Experts, I want to call VisualBasic for Application (VBA) macros and functions in Word or Excel documents which I have written myself out of/from PowerScript functions (instead of rewritting them in the PowerScript functions). Is this possible...
Dear Experts, I want to call the VBA Excel functions with optional parameters like Range.PasteSpecial(...) for example in PowerScript functions. I tried the following: OLEObject lole_WS_From // Excel worksheetOLEObject lole_WS_To    // Excel works...
Some years ago I saw the value in having an object that implements dictionary / associative array / map type functionality, mapping string names to arbitrary values, including strings, numbers, dates, and objects. That could be use for passing sets ...
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...
I was wondering if anyone has used PowerBuilder (Powerscript) to make calls to the R statistical package.  I have a user that would like a nice front-end GUI to sit on top of some custom R libraries they have written.  I'm not sure if/how this can be...
Hi, Why regular expression match('','^[0-9, ]*$') = false ? * (asterisk) Indicates zero or more occurrences An empty string must meet the condition.   Regards, Andrey  ...
Hi Team, We do have a client requirement to add some functionality in the client application to the Open/Read profiler Trace file. Does anyone have an idea about How to open and read PBP file content programmatically through PowerBuilder? Thanks ...
Hello, I have a question about powerscript usage. I would like to define several structures in the same place (eg. same file) and use them outside of the defining file, so I am doing something like the following in the source code n_cst_api_supplies...
Hello, I have a simple problem and we get this bug once/twice in a year but the impact of this bug is always huge. The problem is the following. When we create a new function in PowerBuilder, it automatically sets the return value as integer, which...
Hello, IS there a way to calculate the difference between two dates in years, months, days taking into leap year also into consideration ? Happiness AlwaysBKR Sivaprakash  ...
Hello. I´m trying to convert a string date coming from user input   the string is for example "05/2015" in the format "mm/yyyy"   and i want to convert to /01/05/2015 in the format "dd//mm/yyyy"   ldcompetencia = date(em_competencia.text)  ...
Hello. I have a set filter expression but the PB is telling that has an syntax error. What is the right syntax to compare a column to a long variable? Here is the expression that is returning me an error parent.dw_listagem_pessoas.SetFilter("est...

Find Questions by Tag

.EXE .NET 6.0 .NET Assembly .NET Core 3.1 .NET Core Framework .NET DataStore .NET Std Framework 32-bit 64-bit ADO.NET AEM AI Algorithm Amazon AWS Android Apache API APK App Store App Store (Apple) Appeon Workspace Appeon Xcelerator Plug-in Architecture Array ASE Asynchronous Methods Authentication AutoBuild AutoCompiler Automated Testing Automation AutoScript Azure Barcode Base64 Batch BigData BLOB Branch & Merge Browser Bug Build Button C# C# Class Importer C# Editor C# Model generator Calendar Camera Certificate Chrome Citrix Class Client Client/Server Cloud Cluster Collection COM Command Line Compiler Compression Computed Field Configuration Controls Cookies Cordova Crash Cross-Platform Crosstab CSharpAssembly CSharpObject CSS CSV Cursor Data Database Database Driver Database Painter Database Profile Database Provider DataObject DataSource DataStore DataStore (C#) DataStore (PS) DataType DataWindow DATE DATETIME DB2 Debug Debugger Debugging Deployment Design DLL DO-WHILE Dockable Docker Documentation DOUBLE Download DragDrop Edge Edit Style Editor Elevate Conference Email Embedded SQL Emulator Encoding Encryption Enhancement Request Entity Entity Framework ERP Error Event Event Handler Event Handling Excel Exception Export Expression External Functions F# Field File File Access Filter Firefox Firewall Font FOR-NEXT Foreground Format Function Garbage Collection GeoLocation Git Graph HANA Hash Header HTML/5 HTTP/S HTTPClient Icon IDE Identity IIS IMAPI Import InfoMaker Inheritance Installation Integer IntelliSense Interface Internet Internet Explorer iOS IPA iPad iPhone IWA J# Java JavaScript JBoss JDBC JOIN JSON JSONGenerator JSONParser Kestrel Label Lambda Large File LDAP Library License LINQ Linux OS Load Balancing Localization Localized PBVM Log In Log Out Logging LONG LONGLONG macOS MAPI Maps MDI Memory Memory Leak Menu Merge MessageBox Messagging Method Migration MIME TYPE Mobile Model ModelStore ModelStore (C#) MSOLEDBSQL Multi Threading MVC MySQL n-Tier Namespace NativePDF NVO OAuth ODATA ODBC Office Offline OLE OLEDB Online Open Source OpenAPI OpenSSL Oracle OrcaScript Other Outlook Output Package Parameter Patch PayPal PB Classic PB Native PB.NET PBC PBD PBDOM PBG PBJVM PBL PBNI PBORCA PBVM PBX PDF Performance Permission PFC Picture Pipeline Play Store (Google) Plugin Popup Port POST PostgreSQL PowerBuilder PowerBuilder (Appeon) PowerBuilder (SAP) PowerBuilder Compiler PowerBuilder Runtime PowerClient PowerScript (PS) PowerScript IDE PowerScript Migrator PowerServer PowerServer Mobile PowerServer Toolkit PowerServer Web PowerServerLabel Print Properties Proxy Publish PULL PUSH Query Regression Release Renew Resize Response REST Retrieve RibbonBar RibbonBar Builder Rich Text Roadmap RPC Runtime Packager SaaS Scaffolding Script SDI SDK Security Server Service Session Single Sign-on Size SMTP SMTPClient SnapDevelop SOAP Sort Source Code Speech Recognition SQL SQL Anywhere SQL Server SqlBuilder SqlExecutor SQLite SqlModelMapper Storage Stored Procedure Subscription SVN Swagger Syntax TabbedBar TabbedView Tablet TabPage Target TE Control Testing Text TFS Theme TIME Timer TLS/SSL Tomcat TortoiseGit TortoiseSVN Transaction Transparency Trial Trigger TRY-CATCH TX Control Type UI ULONG UltraLite Uninstall Unit Test Unit Testing UNIX OS Update Upgrade Upload URL User Center User Object UWP Validation VARCHAR Variable Versioning Visual Studio Visual Studio Code VM Voice Warning WCF Web API Web Extensions Web Service WebBrowser WebForms WebLogic WebSphere WildFly WinAPI Window Windows OS WinForms Wizard Workgroup Workspace WPF XCODE XHTML XML Zoom