>I have tried something like this, but using the SYS(2005) instead. It worked great in the IDE, but insisted on creating a new FoxUser in the current folder when ran as a EXE. Then, the return value of SYS(2005) would be returned as a empty string. Is there any thing different the SYS() method then the SET() method of getting the table name?
>
>Thnaks
No.
Do you have SET RESOURCE ON / SET RESOURCE TO foxuser.dbf and do you have foxuser.dbf in the EXE folder?
I did a test in a project, it works if meet the following conditions?
1. SET RESOURCE ON
2. SET RESOURCE TO FOXUSER.DBF
3. You have foxuser.dbf in the path the app is aware of .
Dawa Tsering
"Do not let any unwholesome talk come out of your mouths,
but only what is helpful for building others up according to their needs,
that it may benefit those who listen."
- Ephesians 4:29-30 NIV
Dare to Question -- Care to Answer
Time is like water in a sponge, as long as you are willing you can always squeeze some.
--Lu Xun, Father of Modern Chinese Literature