Kevin,
Well, not knowing one darn thing about Crystal, I can't even begin to guess what the problem is. It sounds like it's balking at passing 3 tables?
>SetDataSource has a parameter of 3, the full syntax is...
>
>SetDataSource(Table1,3,nTableNumber)
>
>If I just pass two tables, it's fine...#3 bombs.
>
>I'm guessing it's a coincidence that it's bombing on #3 and 3 happens to be the literal for DataTable, but it's a huge coincidence.What are those other parameters supposed to indicate? Why would you pass it a table *and* a table number? I don't get it (unless that first parm is supposed to be a dataset and not the table?)
~~Bonnie