IF PEMSTATUS(objectname, methodname, 5) && Method exists in object HTH
>Does somebody know how to find out wether a certain method exists for a certain object.
>I have used amembers() but it was to slow.
>Now i just fire the method, even if it doesn't exist. An alternative error-routine makes sure no error is displayd when the method doesn't exist. This is much too dirty.
>
>Why do i want this.
>I made some user defined events. For instance an event called FinalValid contains a validation for when the record is saved. So in the save-button i want to trigger all the FinalValid events for the objects which have one.
>
>
>Marco.
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada
cmagee@metroland.comNever mistake having a career with having a life.