Tuong Do
|
| Posted: 07/22/2002, 7:20 PM |
|
Function EMPLOYER_AfterInsert() 'EMPLOYER_AfterInsert @2-98859DC0
'Custom Code @10-73254650
' -------------------------
CCExecSQL ("update db2admin.member set surname='test' where
member_id=1",Connection1,true)
' Write your own code here.
' -------------------------
'End Custom Code
End Function 'Close EMPLOYER_AfterInsert @2-54C34B28
And the error message is
Technical Information (for support personnel)
a.. Error Type:
Microsoft VBScript compilation (0x800A0414)
Cannot use parentheses when calling a Sub
/test1/EMPLOYER_maint_events.asp, line 12, column 90
CCExecSQL ("update db2admin.member set surname='test' where
member_id=1",Connection1,true)
--------------------------------------------------------------------------
---------------^
|
|
|
 |
DonB
|
| Posted: 07/23/2002, 4:13 AM |
|
It is a "function" not a "sub" so try
Dim strRetVal
strRetVal = CCExecSQL(...)
|
|
|
 |
Tuong Do
|
| Posted: 07/23/2002, 4:21 PM |
|
Thanks Don
"DonB" <7432D63DBB01D03A196B1EDD80E8@comcast.net> wrote in message
news:ahjdpn$mpo$1@news.codecharge.com...
> It is a "function" not a "sub" so try
>
> Dim strRetVal
> strRetVal = CCExecSQL(...)
>
>
>
|
|
|
 |
|