AddField

<< Click to Display Table of Contents >>

 

AddField

AddField(Name, [Table])

This 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. The next script contains an example of using this method.

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?