Pass the second parameter as an empty string.
oReport.Database.Tables(1).SetTableLocation(lcTemp,"", "")
>lcTemp = [c:\temp\temp.dbf]
>
>oReport.Database.Tables(1).SetTableLocation(lcTemp,lcTemp, "")
>
>Where temp.dbf exists as a 2.6 table, the above fails and says it cannot find the table. Any clues?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer