Hi!
Your code looks good, because 1-letter variables are prohibited from a to j (they indicate workareas from 1 to 10, for example, "select j" command is identical to "select 10"). Have no idea, though I glad you did found the solution.
>Thanks for the fast answer,I think that I get the answer by miself:
>I was using local variable named "o".
>o=createobject("class1.cls")
>s=o.method1(param)
>if I use another variable named loCls it works.
>loCls=createobject("class1.cls")
>lsStr=loCls.method1(param)
>
>Is there any problem with variable name?
>Sure yes...
>Thanks,
>Ibai
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.