GetColumnCount - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Result

  

GetColumnCount

  

get the number of columns in the table

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

result:-GetColumnCount( )

Parameters

result

-

Result module

Description

• 

GetColumnCount returns the number of columns in result.

Examples

Create a Result.

driverDatabaseLoadDriver:

conndriver:-OpenConnectionurl,name,pass:resc:-ExecuteQuerySELECT id FROM animals:res:-GetColumnCount

1

(1)

resc:-ExecuteQuerySELECT id,mass FROM animals:res:-GetColumnCount

2

(2)

resc:-ExecuteQuerySELECT id,mass,name FROM animals:res:-GetColumnCount

3

(3)

resc:-ExecuteQuerySELECT id,mass,name,number FROM animals:res:-GetColumnCount

4

(4)

See Also

Database

Database[Result]

Database[Result][First]

Database[Result][GotoRow]

Database[Result][Last]

Database[Result][Next]

Database[Result][Previous]

Database[usage]