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
    Careless of me, but that wasn't actually the problem, just to typo while I was replicating it.
    I have corrected that error and now get the same message as I got originally

    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-3-1)) (0x800408BB)
    RecalculateProperties.cpp, 1331, Script execution failed. ((116-3-1)) (0x800408BB)
    RecalculateProperties.cpp, 1021, Script execution failed. ((116-3-1)) (0x800408BB)
    RecalculateProperties.cpp, 1393, Script execution failed. ((116-3-1)) (0x800408BB)
    RecalculateProperties.cpp, 1134, Script execution failed. ((116-3-1)) (0x800408BB)
    VaultObjScriptSessionTemplates.cpp, 256, Script execution failed. ((116-3-1)) (0x800408BB)
    VaultObjScriptSessionTemplates.cpp, 256, Not found.

    CoPropertyValues.cpp, 283, Not found. (0x8004000B)
    (M-Files 8.0.2910.10)

    (0010)
    Source: M-Files 8.0.2910.10
    Line: 8
    Error: 0x80040001 (0x80040001)
    VaultObjScriptSessionTemplates.cpp, 325, Not found.

    CoPropertyValues.cpp, 283, Not found. (0x8004000B)
    (M-Files 8.0.2910.10)

    (0010)
    Source: M-Files 8.0.2910.10
    Line: 8
    Error: 0x80040001 (0x80040001)
    CoActiveScriptSite.cpp, 805, Not found.

    CoPropertyValues.cpp, 283, Not found. (0x8004000B)
    (M-Files 8.0.2910.10)

    (0010)
    Source: M-Files 8.0.2910.10
    Line: 8
    Error: 0x80040001 (0x80040001)
    CoActiveScriptSite.cpp, 649, Not found.

    CoPropertyValues.cpp, 283, Not found. (0x8004000B)
    (M-Files 8.0.2910.10)

    (0010)
    Source: M-Files 8.0.2910.10
    Line: 8
    Error: 0x80040001 (0x80040001)
    (M-Files 8.0.2910.10)
Reply
  • Former Member
    Former Member
    Careless of me, but that wasn't actually the problem, just to typo while I was replicating it.
    I have corrected that error and now get the same message as I got originally

    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-3-1)) (0x800408BB)
    RecalculateProperties.cpp, 1331, Script execution failed. ((116-3-1)) (0x800408BB)
    RecalculateProperties.cpp, 1021, Script execution failed. ((116-3-1)) (0x800408BB)
    RecalculateProperties.cpp, 1393, Script execution failed. ((116-3-1)) (0x800408BB)
    RecalculateProperties.cpp, 1134, Script execution failed. ((116-3-1)) (0x800408BB)
    VaultObjScriptSessionTemplates.cpp, 256, Script execution failed. ((116-3-1)) (0x800408BB)
    VaultObjScriptSessionTemplates.cpp, 256, Not found.

    CoPropertyValues.cpp, 283, Not found. (0x8004000B)
    (M-Files 8.0.2910.10)

    (0010)
    Source: M-Files 8.0.2910.10
    Line: 8
    Error: 0x80040001 (0x80040001)
    VaultObjScriptSessionTemplates.cpp, 325, Not found.

    CoPropertyValues.cpp, 283, Not found. (0x8004000B)
    (M-Files 8.0.2910.10)

    (0010)
    Source: M-Files 8.0.2910.10
    Line: 8
    Error: 0x80040001 (0x80040001)
    CoActiveScriptSite.cpp, 805, Not found.

    CoPropertyValues.cpp, 283, Not found. (0x8004000B)
    (M-Files 8.0.2910.10)

    (0010)
    Source: M-Files 8.0.2910.10
    Line: 8
    Error: 0x80040001 (0x80040001)
    CoActiveScriptSite.cpp, 649, Not found.

    CoPropertyValues.cpp, 283, Not found. (0x8004000B)
    (M-Files 8.0.2910.10)

    (0010)
    Source: M-Files 8.0.2910.10
    Line: 8
    Error: 0x80040001 (0x80040001)
    (M-Files 8.0.2910.10)
Children
No Data