Information générale
Catégorie:
Produits tierce partie
This is probably way too late to do you any good, but I think there is a work around to this problem.
David's suggestion I think is to open the database and tables using the short / DOS path name.
If you can open the table (and database) using the short DOS name, then PhDBase doesn't seem to complain. I suspect this is because the DBF() function returns the path used to open the file, whether short or long, and not the "real" path.
The WebConnect wwUtils library has a function ShortPath() which will return the real DOS short path; it just uses the WinAPI GetShortPathName function.
If you open the database using the shortpath, and then opening tables via the database (i.e., not explicitly entering the path), the DBF() function will return the short path, and all seems okay w/ PhdBase. So e.g.:
OPEN DATABASE (ShortPath("c:\my data\mydbc.dbc"))
I think will do the trick.
I think it will be a PITA to consistently open everything using the short path, but it does seem to avoid PhDbase puking if it finds a space in a path.
jd
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement