PrtRegion.MaxLocation (Property Read)

Syntax

PrtRegion.MaxLocation

Description

Integer property to get the last occupied region location.

Example

Dim Region as new PrtRegion

Region.Id = "PRODUCTION"

Region.GetData 'Get current max. location information

Region.Loc = Region.MaxLocation

'Get all items in the last occupied region location and

' display them one by one in a message box.

Region.GetItemList

for j = 0 to Region.ItemCount - 1

     MsgBox Region.Item(j).ItemId

next j

More information

PRT Object Model member list.