Spread 8.0 Documentation
Example
Support Options

Glossary Item Box

Example


The following example assigns the database field "Name" to column 2 and retrieves the database field name assigned to column 3.

Visual Basic

Dim buf As String
' Set the database field for column 2
fpSpread1.Col = 2
fpSpread1.DataField = "Name"
' Get the database field for column 3
fpSpread1.Col = 3
buf = fpSpread1.DataField

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.