Gets an alteration in the property alteration definition.
Item(Index As Long) As LPDISPATCH
Returns an alteration.
Index
The following code builds on the sample code for altering queried objects. Using Alterlines.Item, this code gets the property alteration for color and prints its value. Insert the code just before the call to qry.Define in the sample code for altering queried object. To go to the sample code, click click .
Dim i As Integer
For i = 0 To prj.CurrQuery.AlterProp.Count - 1
Set altl = altls.Item(i)
If altl.Property = kAlterationColor Then
Debug.Print altl.Value
End If
Next