The ObjectPrevious attribute function determines the nearest previous object in the order sequence that is derived from a distinct class at the same object level.
|
Syntax | ||||
|
ObjectPrevious(ClassName) | ||||
|
Return value | ||||
|
Objekt |
The returned object is Typeless and must be assigned or Typed through a Typecast before using a TCE object variable. | |||
|
Parameter | ||||
|
Use |
Name |
Type |
Passing |
Description |
|
Required |
ClassName |
String |
ByVal |
The classname of the class matching the object. |
Example:
If Me.ObjectPrevious("Process Operations") <> NoValue Then
ID := Me.ObjectPrevious("Process Operations"):"Process Operations".ID + 10
EndIf
See also