>thisform.olecontrol1.reportfilename = 'c:\temp\reportname.rpt'
>thisform.olecontrol1.connect = 'DSN=mrpt;USER=mrpt;PWD=mrpt'
>thisform.olecontrol1.action = 1
>
>I am copying the tables that I need for the report into c:\temp with the following code.
>
>Copy to c:\temp\reportname.dbf type fox2x
>
>It gives me an error telling me that the file is not in the expected format.
What gives you the error, Crystal?
Also, if you're using an ODBC connection, why do you need to make the files Fox2x-compatible?