Classic ASP: ListFormat NumberStyle error


#1

Builder.ListFormat.ApplyNumberDefault

Builder.Writeln “Item 1”


Builder.Writeln “Item 2”


Th above works but I want to change the default numberstyle to uppercase letters. If I try:

Builder.ListFormat.NumberStyle = 3 'NumberStyle.UppercaseLetter = 3
Builder.ListFormat.ApplyNumberDefault

Builder.Writeln “Item 1”

Builder.Writeln “Item 2”



an error occurs.

#2

The error says the object “Builder.ListFormat.NumberStyle” is not supported. Any help on this would be appreciated. Thanks :slight_smile:


#3

ListFormat object does not have NumberStyle property.

Setting NumberStyle is available only via section's PageSetup.PageNumberStyle property.