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
    CoActiveScriptSite.cpp, 649, Type mismatch: 'OOption'
    Source: Microsoft VBScript runtime error
    Line: 1
    Error: 0x800a000d (0x800A000D)
    (M-Files 8.0.2910.10)


    Actually if you scroll the error message all they way down, this should be pretty easy to solve. The error message says that there is VBScript runtime error on line 1 of your code. Detailed error is "Type mismatch: 'OOption'".

    My guess would be that you have typed in the first line incorrectly. Make sure you have the first code line to state exactly "Option Explicit", not e.g. "OOption Explicit".

    Samppa
Reply
  • Former Member
    Former Member
    CoActiveScriptSite.cpp, 649, Type mismatch: 'OOption'
    Source: Microsoft VBScript runtime error
    Line: 1
    Error: 0x800a000d (0x800A000D)
    (M-Files 8.0.2910.10)


    Actually if you scroll the error message all they way down, this should be pretty easy to solve. The error message says that there is VBScript runtime error on line 1 of your code. Detailed error is "Type mismatch: 'OOption'".

    My guess would be that you have typed in the first line incorrectly. Make sure you have the first code line to state exactly "Option Explicit", not e.g. "OOption Explicit".

    Samppa
Children
No Data