Workaround for the profilestring function in DataWindow expression
Posted by Appeon Support on 16 March 2016 05:01 PM

ProfileString is supported as a system function. However it is unsupported in DataWindow expressions. You can read the detailed supported and unsupported information respectively in Appeon for PowerBuilder Help | Functions | System functions | System and environment for functions and in Appeon for PowerBuilder Help | DataWindow | DataWindow operators and expressions 

Attached is a demo for your reference to work around the profilestring function in DataWindow expression. There are two solutions included in the PBLs.

Solution #1: use the Global Function.

Encapsulate the profilestring expression into a global function and then invoke the global function in the DataWindow.

Solution #2: pass information via the DataWindow Retrieve Argument.

Use the system profilestring function to get the necessary information and then pass the information to the DataWindow via the argument of DataWindow Retrieve function.


Attachments (9.45 KB)
(0 votes)
This article was helpful
This article was not helpful

Comments (0)
Post a new comment 

Please login if you wish to leave a comment about this article.

Help Desk Software by Kayako Fusion

Copyright © 2019 Appeon.  All rights reserved.  Terms of Use | Privacy Statement