Purpose
Returns and sets field data by field ID for a file on the FirstClass server.
If there is no data for a field, an empty string will be returned.
Remember that type is important when assigning data to a ServerFile.Field, since the server is not aware of what form may be used to return the data. Be certain that if you want a string, you assign a string rather than depending on FCAS' automatic type conversion. Form data that is stored as numeric, text, or binary data is supported.
Syntax
ServerFile.Field (FieldID) [="FieldData"]
Example
Dim sf as ServerFile
Dim str1 as String
sf.OpenFile("TestFolder|TestDoc",fcRead)
sf.Field(1000) = "TestString"
str1 = sf.Field(1001)
|