How do i call setLog() function in BASIC ?
' fieldname As String
' record type name is DEFECT
' field name is Note_to_O_User
REM This hook will be run each time the field's value
REM changes. This hook is run before
REM the new value is validated
REM so be aware the new value may not be valid.
REM Dim op_sys
REM op_sys = GetFieldValue(fieldname).GetValue()
REM If op_sys = "windows" Then
REM SetFieldValue "os_version", "NT 4.x"
REM End If
EntityDef "DEFECT": Validation failure from the HookDef language processor:
EntityDef "DEFECT", FieldDef "Note_to_O_User", HookDef of type "FIELD_VALUE_CHANGED":
The complete DEFECTipt text has been written to file C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\1\cq_vbDEFECTipt_11022013165044.txt
1 error(s) found
This topic has been locked.
Pinned topic How do i call setLog in Basic
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
pdubovitsky 100000N35Y376 Posts
Re: How do i call setLog in Basic2013-02-12T13:32:45ZThis is the accepted answer. This is the accepted answer.You cannot call Perl function from VBScript. You need to implement SetLog in VBScript (or change schema Windows language to Perl and use it for all hooks).