getColumnCount()

Get the number of columns in a table.

Syntax

getColumnCount(
   tableName  STRING )
  RETURNS INTEGER 
  1. tableName is the name of the table.

Usage

You can use it to get a count value of the number of columns in a table to test this action in a scenario. For example:

DISPLAY SFMT("Items has %1 columns", ggc.getColumnCount("items"))