&VWDEP(obj[,IFERR,label:])
Allows you to verify/change the view dependent status of an object.
If verifying an object, this symbol returns a null string if the specified object is a model object. It returns the name of the view if the specified object is view dependent.
If changing the view dependent status of an object, specifying a null string converts the object from a view dependent object to a model object. Specifying a view name converts the object from a model object to a view dependent object.
&VWDEP(obj) = &NULSTR or 'view name'
NOTE: You cannot use &VWDEP to convert an object from view
dependent in one view to view dependent in another view on one pass. Use two
passes to accomplish this: one to convert to model, the next to convert back to
view dependent.
Read/Write - String 30 - Characters
Parameter |
Description |
&NULSTR |
Indicates that you wish to convert the object from a view dependent to a model object. |
'view name' |
Indicates that you wish to convert the object from a model to a view dependent object. |
IFERR,label: |
Specifies a label to which program execution jumps if an error occurs. Possible errors include: object not defined, invalid view name, view does not exist, object type cannot be view dependent. |