Certain characters are not allowed in field names in data sets. For example, while [Order Date] is a valid name for a field in SQL Server (as long as it's delimited with quotes or square brackets), it's automatically converted to "Order_Date" in a Stonefield Query data set. If you need to know the name of the field in a data set, the GetDataSetFieldName method can help.

Syntax

GetDataSetFieldName(FieldName as String) as String

Parameters
FieldName
The field name.

Return Value
The field name as it appears in the data set for a report.

Example
See the Linking to Google Maps topic for an example.

See also

Application Object

© Stonefield Software Inc., 2023 • Updated: 06/06/16
Comment or report problem with topic