Sorry I did not test it, but thought I used it before.
Yes, for me it worked in FoxPro2.5 for Dos too and does not work in VFP6.
Now I see that dbf() returns the entire path of the dbf. However FoxPro2.5 ignores it and uses alias. Vfp6 still want to use the entire path.
Regards
>>>>>>>>>>>>>>>>>>>>>
Yuri,
Specifying an alias makes no difference.
Did you delete/remove the original table? If it is in your path, VFP will find it and the SELECT SQL will work, but if the original file is deleted/moved/renamed (i.e. the only copy is the one build into the .app file), the SELECT SQL will fail with error message: "File 'testtable.dbf' is not found". However, you can still view the table, select() it, browse it, scan it, etc.
>>>>>>>>>>>>>>>>>>
>It seems your puzzle is solved when:
>
>use testtable alias testtable
>
>Regards
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only