A collection of all DMUReviews currently managed by the application.
The method ("DMUReviews") retrieves this collection.
Properties
Property Current() As (Read Only)
Returns the current DMUReview.
Returns:
The current DMUReview (the collection is returned if there is no current review)
dd>
Example:
This example retrieves the current oDMUReview DMU Review
from the cDMUReviews collection.
Set oDMUReview = cDMUReviews.Current
Methods
Func Add() As
Creates a DMUReview and adds it to the DMUReviews Collection.
Returns:
The created DMUReview
dd>
Example:
This example creates a new DMUReview in the cDMUReviews collection.
Set oDMUReview = cDMUReviews.Add
Func ImportFrom( iProduct) As
Imports Applicative data froma given product in a new DMU Review
Parameters:
iProduct
The product to import applicative data from
dd>
Returns:
The created DMUReview
dd>
Example:
This example imports a new DMUReview from a product in the cDMUReviews collection.
Set oDMUReview = cDMUReviews.ImportFrom(iExistingProduct)
Func Item( iIndex) As
Returns a DMUReview using its index or its name from the DMUReviews collection.
Parameters:
iIndex
The index or the name of the DMUReview to retrieve from the collection of DMUReviews.
As a numerics, this index is the rank of the DMUReview in the collection.
The index of the first DMUReview in the collection is 1, and
the index of the last DMUReview is Count.
As a string, it is the name you assigned to the DMUReview.
dd>
Returns:
The retrieved DMUReview
dd>
Example:
This example retrieves in oThisDMUReview the ninth DMUReview,
and in oThatDMUReview the DMUReview named
DMUReview3 from the cDMUReviews collection.
Set oThisDMUReview = cDMUReviews.Item(9)
Set oThatDMUReview = cDMUReviews.Item("DMUReview3")
Sub Remove( iIndex)
Removes a DMUReview from the DMUReviews collection.
Parameters:
iIndex
The index or the name of the DMUReview to retrieve from the collection of DMUReviews.
As a numerics, this index is the rank of the DMUReview in the collection.
The index of the first DMUReview in the collection is 1, and
the index of the last DMUReview is Count.
As a string, it is the name you assigned to the DMUReview.
dd>
Example:
The following example removes the tenth DMUReview and the DMUReview named
DMUReview2 from the cDMUReviews collection.