Saves the current query to the category or an external file.
Add( QueryName As String, _
QueryDescription As String, _
SaveOptions As Long _
QueryFileName As String _
) As SavedQuery
Returns the saved query.
QueryName
QueryDescription
SaveOptions
QueryFileName
You combine ESaveQueryOptions constants with the + operator. For example, to save the coordinates of the query and the alter properties, the argument is kQrySaveCoordinates + kQrySaveAlteration.