List of event procedures
Hi,
I am using the CodeModule to get the list of events that
have code connected to them but it does not seem to
include the events in subreports. Do I need to recurse
thru bands and subreport to get a complete list? I
tried the use AllGlobalPrograms but while the
AllGlobalProgramCount is a number the AllGloblalPrograms[x]
seems to always be nil.
Any insight into the difference between AllGlobalPrograms
and GlobalProgram and AllPrograms and Program would
be appreciated.
Thanks,
Joseph Gordon
I am using the CodeModule to get the list of events that
have code connected to them but it does not seem to
include the events in subreports. Do I need to recurse
thru bands and subreport to get a complete list? I
tried the use AllGlobalPrograms but while the
AllGlobalProgramCount is a number the AllGloblalPrograms[x]
seems to always be nil.
Any insight into the difference between AllGlobalPrograms
and GlobalProgram and AllPrograms and Program would
be appreciated.
Thanks,
Joseph Gordon
This discussion has been closed.
Comments
are for the individual reports (Subreport.Report). You should be able to
call GetDatamodule on the Subreport.Report object to get the subreport's
code module. Use the report object loop tech-tip article to get at the
Subreport.Report recursively.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com