‎2009 Feb 19 11:24 AM
hi friends,
i want call performs in a class method ,but its giving error how can we do this,
pls share ur idea
‎2009 Feb 19 11:27 AM
‎2009 Feb 19 11:28 AM
hi not in class definition i am trying to call performs in a method.
‎2009 Feb 19 11:31 AM
Hi,
Method itself defined in the class...........
you can't call perform
-rick
‎2009 Feb 19 11:32 AM
Hi;
only in implementation, a subrountine can be called, try it.
Regards
Shashi
‎2009 Feb 19 11:28 AM
hi why you want to do perform in class...
we do perform and form so to reuse piece of code again ..
so in class make a method with that code..and call it whenver required...
‎2009 Feb 19 11:30 AM
‎2009 Feb 19 11:31 AM
hi...
inside class if you are trying to use subroutine...it mean you want to perform a task a number of times...
better than this create a method which you can call in similar way as you do with subroutine.
its not advisable to use subroutine in class and so far i have not seen any thing like tis
*************************************************************
you can do PERFORM IN METHOD
but for this you have to write FORM ENDFORM
inside themethod that too at the lowest portion and call it anywhere only in that method
regards
Edited by: Mohit Kumar on Feb 19, 2009 12:33 PM