revDatabaseColumnLengths

returns the maximum field sizes in a record set .

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.1 Security: disk, network

# Syntax

revDatabaseColumnLengths(recordSetID)

# Params

- recordSetID : The number returned by the revQueryDatabase function when the record set (database cursor) was created.

# Examples

revDatabaseColumnLengths(storedSet)

# Description

Use the revDatabaseColumnLengths function to find out how large a database field is.

Each item in the revDatabaseColumnLengths is the maximum size of a database field.

If the operation is not successful, the revDatabaseColumnLengths function returns an error message that begins with the string "revdberr".

>*Important:* The revDatabaseColumnLengths function is part of the > Database library. To ensure that the function works in a > standalone application, you must include this > LiveCode custom library when you create your > standalone application. In the Inclusions pane of the > Standalone Application Settings window, make sure both the > "Database" library checkbox and those of the database drivers you are > using are checked.

# Tags

# See