Transactions Collection

The Transactions collection is a collection whose elements represent every transaction currently within the repository.

Client support

   Newlook Smartclient

   Newlook Server

Use

The elements in this collection represent every transaction in the current repository. Individual transactions can then be referenced via their index number. For example, if you wanted to know how many inputs the first transaction in your collection took you would use the following syntax to reference that count:

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

TIP!

For more information about the way in which transactions in the collection work together to form an internal application model refer to the topic on Transactions.

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)

Applies To

Repository collection

See Also

Objects and Controls | Transaction object | Repository Object | PlayTransaction method


© 2004-2021 looksoftware. All rights reserved.