>>>I have an app I'm attempting to distribute, but the form is hard coding the table's location (path). The table is not part of a database. Is there a way I can replace the cursorsource in the dataenvironment with justfname(cursorsource) for all tables then run opentables()? I've done this when a file is part of a database by setting the database, but I can't figure out how to do this when the files are not members of a database. Your would think/hope VFP would use relative location unless otherwise specified. Thanks!
>>
>>Set Database property to '' and CursorSource to fullpath of dbf.
>>
>>thisform.DE.Closetables
>>* Loop and change cursor props
>>thisform.DE.Opentables
>>
>>But if VFP cannot find the tables in hardcoded path it'd use the ones found in path. IOW you don't need to play with code.
>>Cetin
>
>Hi Cetin,
>
>I have a similar problem (the hardcoded path was set to my local development drive) but since I have a pathset variable in the MAIN.PRG (CONFIG.FPW), it worked just fine. However, the question remains, does it affect time response/performance?
Possibly it'd matter a few milliseconds.
Cetin