Skip to main content

VError Codes

The tables below list the error codes that may be returned in the ViewCtl property, VError, and the descriptions returned using the VError$( ) method. The descriptions may also be retrieved using the Command line program VError nnnn at the Command prompt where nnnn is the error code number; e.g. verror 1234.

Use the following links to jump to a particular list of error codes:

ViewCtl Object Errors

The following table provides a list of ViewCtl object errors:

Error NumberViewCtl MethodDescription
1000On_CreateOn_Create failed
1010AddDataGroupInvalid arguments
1011AddDataGroupUnable to add DataGroup object
1013AddDataGroupDuplicate group description
1020AddDataSourceInvalid arguments
1030AddItemInvalid arguments
1038AddItemInvalid object type
1040AddLinkInvalid arguments
1044AddLinkCannot find primary DataSource object
1050AddViewInvalid arguments
1051AddViewUnable to add ViewDef object
1058AddViewInvalid object type
1060AssignToDataGroupInvalid arguments
1064AssignToDataGroupUnknown source or group
1070CheckDuplicateDescriptionInvalid arguments
1100CopyInvalid arguments
1104CopySource not found
1106CopyGroup not found
1108CopyInvalid object type
1110DeleteInvalid arguments
1114DeleteSource not found
1115DeleteError deleting source record
1120DeleteDataGroupInvalid arguments
1124DeleteDataGroupUnknown group
1126DeleteDataGroupCannot delete default group
1130DeleteFromDataGroupInvalid arguments
1134DeleteFromDataGroupUnknown source or group
1135DeleteFromDataGroupError deleting group entry
1140DisableInvalid arguments
1144DisableSource not found
1145DisableUnable to disable source record
1148DisableInvalid object type
1160GetDataGroupInvalid arguments
1162GetDataGroupNo groups defined
1164GetDataGroupGroup not found
1170GetDataSourceInvalid arguments
1172GetDataSourceNo data sources defined
1174GetDataSourceDataSource not found
1180GetGroupIDInvalid arguments
1184GetGroupIDGroup not found
1190GetItemInvalid arguments
1197GetItemInvalid path
1198GetItemInvalid object type
1200GetLinkInvalid arguments
1205GetLinkInvalid link
1207GetLinkInvalid path
1210GetNextKeyIDInvalid arguments
1220GetTypeInvalid arguments
1224GetTypeSource not found
1230GetViewInvalid arguments
1232GetViewNo views defined
1234GetViewView not found
1240ListInvalid arguments
1250ListByGroupInvalid arguments
1260ListGroupMembersInvalid arguments
1264ListGroupMembersGroup not found
1280LoadInvalid arguments
1281LoadUnable to add DataSource or ViewDef object
1284LoadSource not found
1288LoadInvalid source type
1290LoadDataGroupInvalid arguments
1291LoadDataGroupUnable to create Datagroup object
1294LoadDataGroupGroup not found
1300OpenLinkInvalid arguments
1304OpenLinkLink record not found
1306OpenLinkUndefined source id
1308OpenLinkInvalid source type
1310PrintInvalid arguments
1315PrintPrint error
1320RemoveInvalid arguments
1322RemoveNo DataSource or ViewDef objects defined
1324RemoveObject not found
1330RemoveDataGroupInvalid arguments
1332RemoveDataGroupNo DataGroup objects defined
1334RemoveDataGroupDataGroup not found
1340RemoveFromDataGroupInvalid arguments
1344RemoveFromDataGroupData source/view not found
1346RemoveFromDataGroupGroup not found
1350RemoveItemInvalid arguments
1354RemoveItemItem not found
1358RemoveItemInvalid object type
1360RemoveLinkInvalid arguments
1370SaveInvalid arguments
1372SaveNo DataSource objects defined
1373SaveInvalid view item path
1375SaveWrite failed
1376SaveUnresolved link
1377SaveUnresolved primary source id
1378SaveInvalid object type
1379SaveViews package not activated
1380SetDescriptionInvalid arguments
1383SetDescriptionDuplicate description
1394SetDirectoryDirectory path not found
1395SetDirectoryNot a directory path
1396SetDirectoryError opening View Definition files
1397SetDirectoryFile check failure
1400SetFilterInvalid arguments
1408SetFilterInvalid object type
1410SetInternalKeycodeInvalid arguments
1420SetUnassignedMessageInvalid arguments
1430TranslatePathInvalid arguments
1440WriteDataGroupInvalid arguments
1445WriteDataGroupWrite failed
1450CopyDataGroupInvalid arguments
1454CopyDataGroupData group not found
1460ExportInvalid arguments
1462ExportDisabled source
1464ExportSource record not found
1465ExportError writing to export file
1466ExportError accessing export file
1468ExportInvalid file type
1470GetImportListInvalid arguments
1478GetImportListInvalid file type
1480SetImportInvalid arguments
1490ImportInvalid arguments
1498ImportInvalid file type
1501ImportUnresolved data source reference
1502ImportUnresolved link parent source reference
1503ImportUnresolved link source reference
1504ImportUnresolved view primary data source reference
1505ImportUnresolved view reference
1506ImportUnresolved group reference
1507ImportUnresolved group membership reference
1508ImportUnresolved view item path
1511ImportError writing view or data source header (pvxview.src)
1512ImportError writing data source item (pvxview.itm)
1513ImportError writing data source link (pvxview.lnk)
1514ImportError writing view item (pvxview.vue)
1515ImportError writing group (pvxview.grp)
1516ImportError writing group membership (pvxview.gpd)
1517ImportError writing definition record
1521ChangeDataGroupDescriptionInvalid arguments
1524ChangeDataGroupDescriptionOriginal description not found
1530SetCloseLogicInvalid arguments
1535SetCloseLogicInvalid logic
1540SetExecutionLogicInvalid arguments
1545SetExecutionLogicInvalid logic
1550SetInitLogicInvalid arguments
1555SetInitLogicInvalid logic
1560ListMemberGroupsInvalid arguments
1564ListMemberGroupsInvalid data source or view
1570GetDataSourceIDsInvalid arguments
1574GetDataSourceIDsView not found
1578GetDataSourceIDsInvalid class type

DataSource Object Errors

Below is a list of DataSource object errors.

Error NumberDataSource MethodDescription
2000On_CreateInvalid arguments
2001On_CreateInvalid Source expression
2002On_Create/SetPrimarySourceUnable to create source object (e.g. *views/logio, custom data source object)
2003On_Create/SetPrimarySourceInvalid logical name
2004On_Create/SetPrimarySourceInvalid path name
2005On_Create/SetPrimarySourceInvalid database source
2006On_Create/SetPrimarySourceInvalid custom data source arguments
2007On_Create/SetPrimarySourceFile authorization error
2011AddItemUnable to add DS_Item object
2021AddLinkUnable to add DS_Link object
2030GetItemInvalid arguments
2040GetItemIndexInvalid arguments
2042GetItemIndexNo items defined
2045GetItemIndexItem not found
2050GetLinkInvalid arguments
2060GetLinkIndexInvalid arguments
2062GetLinkIndexNo items defined
2065GetLinkIndexItem not found
2070RemoveItemInvalid arguments
2080RemoveLinkInvalid arguments
2090SetDescriptionInvalid arguments
2100SetInternalIDInvalid internal ID
2110SetCloseLogicInvalid arguments
2115SetCloseLogicInvalid logic
2120SetInitLogicInvalid arguments
2125SetInitLogicInvalid logic
2130SetPrimarySourceInvalid arguments

(Error Number 2007 was added in PxPlus 2023.)

DS_Item Object Errors

Below is a list of DS_Item object errors.

Error NumberDS_Item MethodDescription
2500On_CreateOn_Create failure
2520SetTypeInvalid arguments
2530SetDescriptionInvalid arguments
2540SetExpressionInvalid arguments
2545SetExpressionInvalid expression
2550SetInternalIDInvalid internal ID
2560SetLengthInvalid argument
2570SetNameInvalid argument
2575SetNameInvalid name

Below is a list of DS_Link object errors.

Error NumberDS_Link MethodDescription
2700On_CreateOn_Create failure
2710SetDescriptionInvalid arguments
2720SetInternalIDInvalid internal ID
2730SetSourceIDInvalid internal ID
2740SetKeyDefInvalid arguments
2745SetKeyDefInvalid key definition
2750SetKNOInvalid arguments
2755SetKNOInvalid key number/name
2760SetNoDataOptionInvalid arguments
2775SetPrefixInvalid prefix
2780SetTypeInvalid arguments

ViewDef Object Errors

Below is a list of ViewDef object errors.

Error NumberViewDef MethodDescription
3000On_CreateOn_Create failure
3011AddItemUnable to add ViewItem object
3012AddCalcItemUnable to add CalcItem object
3018AddCalcItemLocked view
3019AddItemLocked view
3029ClearLocked view
3038ClearCalcItemsLocked view
3039ClearItemsLocked view
3040GetItemInvalid argument
3045GetCalcItemInvalid argument
3050GetItemIndexInvalid argument
3052GetItemIndexNo items defined
3055GetItemIndexItem not found
3056GetCalcItemIndexInvalid argument
3057GetCalcItemIndexNo items defined
3058GetCalcItemIndexItem not found
3060LoadPasswordInvalid arguments
3066LoadPasswordCannot reload a password
3069LoadPasswordLocked view
3079SetPasswordLocked view
3080UnlockInvalid arguments
3085UnlockInvalid password
3090RemoveItemInvalid arguments
3091RemoveCalcItemInvalid arguments
3098RemoveCalcItemLocked view
3099RemoveItemLocked view
3100SetDescriptionInvalid arguments
3109SetDescriptionLocked view
3110SetFilterInvalid arguments
3115SetFilterInvalid filter
3119SetFilterLocked view
3120SetInternalIDInvalid internal ID
3129SetInternalIDLocked view
3130SetKeyInvalid arguments
3139SetKeyLocked view
3149SetLongDescriptionLocked view
3159SetOrderLocked view
3166SetPrimarySourceCannot reset PrimarySource
3169SetPrimarySourceLocked view
3179SetUpdateStampLocked view
3180SetConditionInvalid arguments
3189SetConditionLocked view
3190SetOriginalDescriptionInvalid argument
3200SetCloseLogicInvalid arguments
3205SetCloseLogicInvalid logic
3210SetInitLogicInvalid arguments
3215SetInitLogicInvalid logic

(ViewDef error codes 3012, 3018, 3038, 3045, 3056, 3057, 3058, 3091 and 3098 were added in PxPlus 2021.)

ViewItem Object Errors

Below is a list of ViewItem object errors.

Error NumberViewItem MethodDescription
3500On_CreateOn_Create failure
3510SetPathInvalid arguments
3515SetPathInvalid path
3519SetPathView locked
3520SetColumnInvalid arguments
3525SetColumnInvalid column name
3529SetColumnView locked
3530SetConditionInvalid arguments
3535SetConditionInvalid condition
3539SetConditionView locked
3549SetTypeView locked

(ViewItem error code 3549 was added in PxPlus 2021.)

DataGroup Object Errors

Below is a list of DataGroup object errors.

Error NumberDataGroup MethodDescription
4000On_CreateOn_Create failure
4010AddMemberInvalid arguments
4020FindMemberInvalid arguments
4025FindMemberNot a member of the group
4030RemoveMemberInvalid arguments
4040SetDescriptionInvalid arguments
4050SetInternalIDInvalid internal ID

CalcItem Object Errors

Below is a list of CalcItem object errors.

Error NumberCalcItem MethodDescription
5020SetTypeInvalid arguments
5030SetDescriptionInvalid arguments
5040SetExpressionInvalid arguments
5045SetExpressionInvalid expression
5050SetInternalIDInvalid internal ID
5060SetLengthInvalid argument
5070SetNameInvalid argument
5080SetNameInvalid name

(CalcItem error codes were added in PxPlus 2021.)