This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

A little VB Script help please?

Former Member
Former Member
I have property definitions for FirstName, Surname, and FullName.
I need the user to be able to enter the FullName in a single field, and to automatically calculate the FirstName and Surname.
I can use the automatic value 'Simple concatenating of properties' to achieve the reverse result, but presume I need to use Calculated Value(VBScript) to separate the FirstName and Surname.
I could do it easily in EXCEL but I'm not a programmer and don't know how to do it with VBScript. ???
I wonder if somebody would be kind enough to give me the code for this?
Parents
  • Former Member
    Former Member
    I started this again from scratch and got the same error (below) but doesn't mean much to me.
    Please note that I am doing this remotely. Could that be an issue?

    PropertyField_ComboBox.cpp, 276, Creating a new object failed. (0x80040419)
    PropertyFieldGroup.cpp, 2999, Creating a new object failed. (0x80040419)
    PropertyFieldGroup.cpp, 4362, Creating a new object failed. (0x80040419)
    ValueListItemUIHelper.cpp, 298, Creating a new object failed. (0x80040419)
    PropertySheetObject.cpp, 6623, Creating a new object failed. (0x80040419)
    PropertySheetObject.cpp, 6623, Calculation of the automatic value of the property 'FirstName' failed. (0x80040107)
    PropertySheetObject.cpp, 3545, Calculation of the automatic value of the property 'FirstName' failed. (0x80040107)
    CoVaultMountingDocumentOperations.cpp, 380, Calculation of the automatic value of the property 'FirstName' failed. (0x80040107)
    DocumentCache.cpp, 3882, Calculation of the automatic value of the property 'FirstName' failed. (0x80040107)
    DocumentCache.cpp, 3942, Calculation of the automatic value of the property 'FirstName' failed. (0x80040107)
    DocumentCache.cpp, 4078, Calculation of the automatic value of the property 'FirstName' failed. (0x80040107)
    RPCDocumentOperations.cpp, 117, Calculation of the automatic value of the property 'FirstName' failed. (0x80040107)
    RPCDocumentOperationsHelper.cpp, 1311, Calculation of the automatic value of the property 'FirstName' failed. (0x80040107)
    RPCDocumentOperationsHelper.cpp, 23766, Calculation of the automatic value of the property 'FirstName' failed. (0x80040107)
    RecalculateProperties.cpp, 464, Calculation of the automatic value of the property 'FirstName' failed. (0x80040107)
    RecalculateProperties.cpp, 464, Script execution failed. ((116-2-1)) (0x800408BB)
    RecalculateProperties.cpp, 1331, Script execution failed. ((116-2-1)) (0x800408BB)
    RecalculateProperties.cpp, 1021, Script execution failed. ((116-2-1)) (0x800408BB)
    RecalculateProperties.cpp, 1393, Script execution failed. ((116-2-1)) (0x800408BB)
    RecalculateProperties.cpp, 1134, Script execution failed. ((116-2-1)) (0x800408BB)
    VaultObjScriptSessionTemplates.cpp, 256, Script execution failed. ((116-2-1)) (0x800408BB)
    VaultObjScriptSessionTemplates.cpp, 256, Type mismatch: 'OOption'
    Source: Microsoft VBScript runtime error
    Line: 1
    Error: 0x800a000d (0x800A000D)
    VaultObjScriptSessionTemplates.cpp, 325, Type mismatch: 'OOption'
    Source: Microsoft VBScript runtime error
    Line: 1
    Error: 0x800a000d (0x800A000D)
    CoActiveScriptSite.cpp, 805, Type mismatch: 'OOption'
    Source: Microsoft VBScript runtime error
    Line: 1
    Error: 0x800a000d (0x800A000D)
    CoActiveScriptSite.cpp, 649, Type mismatch: 'OOption'
    Source: Microsoft VBScript runtime error
    Line: 1
    Error: 0x800a000d (0x800A000D)
    (M-Files 8.0.2910.10)
Reply
  • Former Member
    Former Member
    I started this again from scratch and got the same error (below) but doesn't mean much to me.
    Please note that I am doing this remotely. Could that be an issue?

    PropertyField_ComboBox.cpp, 276, Creating a new object failed. (0x80040419)
    PropertyFieldGroup.cpp, 2999, Creating a new object failed. (0x80040419)
    PropertyFieldGroup.cpp, 4362, Creating a new object failed. (0x80040419)
    ValueListItemUIHelper.cpp, 298, Creating a new object failed. (0x80040419)
    PropertySheetObject.cpp, 6623, Creating a new object failed. (0x80040419)
    PropertySheetObject.cpp, 6623, Calculation of the automatic value of the property 'FirstName' failed. (0x80040107)
    PropertySheetObject.cpp, 3545, Calculation of the automatic value of the property 'FirstName' failed. (0x80040107)
    CoVaultMountingDocumentOperations.cpp, 380, Calculation of the automatic value of the property 'FirstName' failed. (0x80040107)
    DocumentCache.cpp, 3882, Calculation of the automatic value of the property 'FirstName' failed. (0x80040107)
    DocumentCache.cpp, 3942, Calculation of the automatic value of the property 'FirstName' failed. (0x80040107)
    DocumentCache.cpp, 4078, Calculation of the automatic value of the property 'FirstName' failed. (0x80040107)
    RPCDocumentOperations.cpp, 117, Calculation of the automatic value of the property 'FirstName' failed. (0x80040107)
    RPCDocumentOperationsHelper.cpp, 1311, Calculation of the automatic value of the property 'FirstName' failed. (0x80040107)
    RPCDocumentOperationsHelper.cpp, 23766, Calculation of the automatic value of the property 'FirstName' failed. (0x80040107)
    RecalculateProperties.cpp, 464, Calculation of the automatic value of the property 'FirstName' failed. (0x80040107)
    RecalculateProperties.cpp, 464, Script execution failed. ((116-2-1)) (0x800408BB)
    RecalculateProperties.cpp, 1331, Script execution failed. ((116-2-1)) (0x800408BB)
    RecalculateProperties.cpp, 1021, Script execution failed. ((116-2-1)) (0x800408BB)
    RecalculateProperties.cpp, 1393, Script execution failed. ((116-2-1)) (0x800408BB)
    RecalculateProperties.cpp, 1134, Script execution failed. ((116-2-1)) (0x800408BB)
    VaultObjScriptSessionTemplates.cpp, 256, Script execution failed. ((116-2-1)) (0x800408BB)
    VaultObjScriptSessionTemplates.cpp, 256, Type mismatch: 'OOption'
    Source: Microsoft VBScript runtime error
    Line: 1
    Error: 0x800a000d (0x800A000D)
    VaultObjScriptSessionTemplates.cpp, 325, Type mismatch: 'OOption'
    Source: Microsoft VBScript runtime error
    Line: 1
    Error: 0x800a000d (0x800A000D)
    CoActiveScriptSite.cpp, 805, Type mismatch: 'OOption'
    Source: Microsoft VBScript runtime error
    Line: 1
    Error: 0x800a000d (0x800A000D)
    CoActiveScriptSite.cpp, 649, Type mismatch: 'OOption'
    Source: Microsoft VBScript runtime error
    Line: 1
    Error: 0x800a000d (0x800A000D)
    (M-Files 8.0.2910.10)
Children
No Data