I am using vb5 with CR 4.6. and my CR knowledge is limited. Here is the problem, I need to supply the table name (from which the report is created) from vb. because tables are created by users of the program dynamically. The fields in the tables don't change. Is this possible through some kind of formula or sql query? I tried to read help files, tried ReplaceSelectionFormula, did some sql but couldn't even come close.