Inputs Property

The Inputs property is a collection of inputs that a specified transaction takes.

App.Repository.Transactions(0).Inputs as Integer

Use

This property is useful if you wish to know how many Inputs a transaction takes or what those inputs are.

To return the number of inputs the first transaction in your collection takes you would use the following:

App.Repository.Transactions(0).Inputs.Count

To return the name of the first Input for the same transaction:

App.Repository.Transactions(0).Inputs(0)

Referencing individual members of the collection

You can reference an individual item within any Newlook collection by using its Index. All indexes in Newlook are zero-based therefore if you wanted to return the third item in the collection you would use the following syntax:

object.collection(2)

See Also

Outputs Collection | Objects and Controls | Transaction collection | How to record a transaction

Applies To

Transaction object


© 2004-2021 looksoftware. All rights reserved.