Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error 501 Illegal Assignment
#1
Solved: 10 Years, 9 Months, 1 Week ago
Hi guys,

I am having tough time figuring out what's wrong with the function call. I have a function which i am calling and the moment it enters the function i get the err.number = 501.

I verified all the variables, all are string and it matches with the number of arguments defined in the function.

No clue why am I getting this.

this is my function call statement:

Code:
Action_Result = fnAccountInfoPageOSA(iInitialDeposit, sFundAccFrom, sAccNickname, sChangeOwnerToJoint, sASPOption, sASPAmount, sASPAccFrom, sASPFreq, sASPStartDate)

and this is how its been defined in the function lib:

Code:
Function fnAccountInfoPageOSA(iInitialDeposit, sFundAccFrom, sAccNickname, sChangeOwnerToJoint, sASPOption, sASPAmount, sASPAccFrom, sASPFreq, sASPStartDate)

' code to be executed

End Function

Please let me know if you would need more information. Thanks in advance for your help!
Reply


Messages In This Thread
Error 501 Illegal Assignment - by vijayendra.shukla - 04-19-2012, 06:59 PM
RE: Error 501 Illegal Assignment - by Ankesh - 04-20-2012, 11:35 AM
RE: Error 501 Illegal Assignment - by Ankesh - 04-23-2012, 03:57 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Wrong number of arguments or invalid property assignment qtpro_exe 0 6,296 11-22-2011, 07:48 AM
Last Post: qtpro_exe

Forum Jump:


Users browsing this thread: 3 Guest(s)