List.Count

This function returns the number of items in the list collection.

Group: Prompt-Specific Extensions

Syntax: vValue = PromptID.List.Count

vValue     (Variant) the number of items in the list

Example:

Dim nValue as Long

nValue = lstCars.List.Count

nValue = RFPrompt("lstCars").List.Count

nValue = RFPrompt(2).List.Count