AddField

<< Click to Display Table of Contents >>

 

AddField

AddField(Name, [Table])

The AddField method adds a new table field in the Query. The Name parameter determines the name of the new field added to the Query. The Table parameter represents the name of the table to which the field belongs. Example:

Sub Button1_Click()
  Screen.Item("E3Browser").Item("Query").AddField "Field1"
End Sub

 

NOTE

This method fails if the QueryType property is configured to 1 - qtStorage.

Was this page useful?