Forums
This topic is locked
Invalid Procedure Call
Posted 09 May 2003 21:33:32
1
has voted
09 May 2003 21:33:32 Brian Canterbury posted:
Hello All,Sorry for the repeated posts, but I'm having some weird problems today. I I added an OnClick JavaScript behavior to a Submit button. The behavior is simply a message box. I get the following error when I press the button:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Microsoft VBScript runtime error '800a0005'
Invalid procedure call or argument: 'Right'
/content_approval/content_details.asp, line 104
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
That line reads as follows:
<pre id=code><font face=courier size=2 id=code>strPreAppSQL = Right(strPermTable,(Len(strPermTable)- 4))
</font id=code></pre id=code>
Again, I made no change to this code, only the additon of the Javascript behavior.
Any ideas?
Edited by - knottydrd on 09 May 2003 21:35:01
Edited by - knottydrd on 09 May 2003 22:30:04