Pass the table name like:
loTable.SetTableLocation("c:\temp\sk38dj32.dbf", "sk38dj32", "")
>Hi Criag,
>
>I've got your book. Very nice. I have a question though.
>
>On page 210, where you discuss the SetTableLocation function, how would
>you do this for a native VFP free table?
>
>In other words, lets say I create a report which, in the designer, is
>pointing to c:\mydata\customers.dbf.
>
>In runtime, the table might be c:\temp\sk38dj32.dbf
>
>I want to change the location of the table, but the SetTableLocation's
>parameters require a database. The table in my example is a Fox2x free
>table.
>
>Thanks
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer