Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

DataCount – PB Docs 125 – PowerBuilder Library

DataCount – PB Docs 125

DataCount PowerScript function

Description

Reports the number of data points in the specified series
in a graph.

Controls

Graph controls in windows and user objects, and graphs in
DataWindow controls and DataStore objects

Syntax

Argument

Description

controlname

The name of the graph in which you want
the number of data points in a specific series, or the name of the
DataWindow control or DataStore containing the graph

graphcontrol (DataWindow control
or DataStore only)

(Optional) The name of the graph in the
DataWindow control or DataStore for which you want the data point
count for the series

seriesname

A string whose value is the name of the
series for which you want the number of data points

Return Values

Long. Returns the number of data points
in the specified series if it succeeds and -1 if an error occurs.
If any argument’s value is null, DataCount returns null.

Examples

These statements store in ll_count the
number of data points in the series named Costs in the graph gr_product_data:

These statements store in ll_count the
number of data points in the series named Salary in the graph gr_dept in
the DataWindow control dw_employees:

See Also


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x