Working with Graphs – PB Docs 2018
Working with Graphs Contents About graphs Using graphs in DataWindow objects Using the Graph presentation style Defining a graph’s properties Using graphs in windows About this chapter This chapter describes how to build and use graphs in PowerBuilder. Document get from Powerbuilder help Thank you for watching.
Setting General properties for menu items – PB Docs 2018
Setting General properties for menu items This section describes the properties you can set when you select a menu item and then select the General tab page in the Properties view. Creating MicroHelp and tags MicroHelp is a brief text description of the menu item that displays on the status bar at the bottom of…
Saving retrieved rows to disk – PB Docs 2018
Saving retrieved rows to disk If you want to maximize the amount of memory available to PowerBuilder and other running applications, PowerBuilder can save retrieved data on your hard disk in a temporary file rather than keep the data in memory. PowerBuilder swaps rows of data from the temporary file into memory as needed to…
Tan – PB Docs 2018
Tan PowerScript function Description Calculates the tangent of an angle. Syntax
1 |
Tan ( n ) |
Argument Description n The angle (in radians) for which you want the tangent Return value Double. Returns the tangent of n. An execution error occurs if n is not valid. If n is null, Tan returns null. Examples Both these statements return 0:
1 2 |
Tan(0) Tan(Pi(1)) |
This statement…
TimeFormat – PB Docs 2018
TimeFormat database parameter Description When you update data in the DataWindow painter, PowerBuilder builds a SQL UPDATE statement in the background. The Time parameter determines how PowerBuilder specifies a time datatype when it builds the SQL UPDATE statement. Applies to ADO.NET OLE DB SNC SQL Native Client for Microsoft SQL Server Syntax
1 |
TimeFormat ='time_format' |
Parameter Description time_format The time format you want PowerBuilder to use when…
The Message object – PB Docs 2018
The Message object Contents Message object properties The Message object is a predefined PowerBuilder global object (like the default Transaction object SQLCA and the Error object) that is used in scripts to process Microsoft Windows events that are not PowerBuilder-defined events. When a Microsoft Windows event occurs that is not a PowerBuilder-defined event, PowerBuilder populates…
TraceDisableActivity – PB Docs 2018
TraceDisableActivity PowerScript function Description Disables logging of the specified trace activity. Syntax
1 |
TraceDisableActivity ( activity ) |
Argument Description activity A value of the enumerated datatype TraceActivity that identifies the activity for which logging should be disabled. Values are: ActError! — Occurrences of system errors and warnings ActESQL! — Embedded SQL statement entry and exit ActGarbageCollect! — Start and finish…
ToAnsi – PB Docs 2018
ToAnsi PowerScript function Description Converts a character string to an ANSI blob. Syntax
1 |
ToAnsi ( string ) |
Argument Description string A character string you want to convert to an ANSI blob Return value Blob. Returns an ANSI blob if it succeeds and an empty blob if it fails. Usage The ToAnsi function converts a Unicode character string to an…
TraceActivityNode object – PB Docs 2018
TraceActivityNode object The TraceActivityNode object provides information about the nodes in a trace file, including the type of activity represented by a node. You use the TraceActivityNode object in conjunction with the TraceFile object. The TraceActivityNode object has no events. Properties TraceActivityNode property Datatype Description ActivityType TraceActivity (enumerated) A value of the enumerated datatype TraceActivity…
ShowWarnings – PB Docs 2018
ShowWarnings database parameter Description Specifies whether warning message text can be concatenated to existing error messages. Applies to DIR SAP DirectConnect Syntax
1 |
ShowWarnings=value |
Parameter Description value Specifies whether warning message text can be concatenated to existing error messages. Values are: 0 (Default) Does not allow the concatenation of warning message text to existing error messages….