Closed vfp9 closed 5 months ago
The error indicates that the USE command works, however the RDD fails to open the file.
Xinje, please try putting the file in a similar folder in C:, does the error still occur? Also please check its properties, maybe it's blocked by the OS, as if it was downloaded from the web etc? Can you post the file(s) so we can have a look?
Attached is the dbf file I used for testing. I simply changed the file name while testing. PY.zip
Thanks, I see the problem, it's because of the use of brackets for the filename, the preprocessor has a problem with it. The USE command gets translated to
DbUseAreaFox( , "[C:\xSharp\Users\Xinje\my test\py.dbf]", , iif(.F. .or. .F., !.F., NIL), .F.,......
and fails of course.
That's a bug, but for now please replace the [....] with "..." and it should work.
Confirmed fixed
Describe the bug An error is triggered when using the Use command to open a dbf with a path that has spaces in it. The Chinese description in the picture, translated into English should be: Formats in the path are not supported
To Reproduce Please try:
Desktop (please complete the following information):
Additional context The following commands are valid in VFP: