Invisible Datamodule ????

Dear reader,

I'm trying to create an instance of the TTable component on a
datamodule, but since the datamodule is invisble on runtime level I
cannot find the component anymore. What am I doing wrong in the
example below.

Please send your reply to mart...@worldoneline.nl. Thanks in advance!

Example:
------------

procedure frmMain.DoMe;
begin
  with TTable.Create(DM) do begin
    databasename := 'c:\';    
    tablename := 'test.dbf';
    tabletype := ttDefault;
    Name := 'test';
    FieldDefs.Add('field1', ftWord, 0, true);
    CreateTable;
  end;
end;

procedure InsertRec;
begin
  TTable(DM.FindComponent('test')).InsertRecord([1]);   {ERROR}
end;