Subject How to send component name as parameter to access IBO component's methods
Author Chuck Belanger
Hi, All:

New to Delphi and IBO, but could use some help.

Trying to write a procedure which I can pass as a string the component
handler name, so that I can prepare/execute a series of datapump
component groups (i.e. IB_Cursor, IB_datapump, IB_dsql), one group for
each of about 7 tables that I need to archive records, then delete.

Another Delphi programmer suggested using FindComponent(), but it just
doesn't quite work as in:

with dmPVEditor do
(findcomponent(ParameterStringNameofComponent)).prepare;

I get an "undeclared identifier" error.

Maybe I'm going about this all wrong, but there seems that there should
be a way to do this.

Thanks for any help,

Chuck Belanger