Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AFields() returns upper case field names?
Message
De
17/11/2010 14:05:22
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Divers
Thread ID:
01480476
Message ID:
01489437
Vues:
53
>>>>>>>>>>Oh, this is like sweet music to my ears!
>>>>>>>>>
>>>>>>>>>Done. I must fix a few bugs in GUI now.
>>>>>>>>
>>>>>>>>OK... I'm still hearing that sweet music in my ears, as I wait. I've delayed one part of my project hoping you would have this ready soon. Your timing is perfect. Thank you for taking time to implement this request. I truly appreciate it.
>>>>>>>
>>>>>>>The bugs in GUI are insignificant...
>>>>>>>
>>>>>>>http://gorila.netlab.cz/download/pdm/PDM_1.3.0_20101019_source.zip
>>>>>>>
>>>>>>>MartinaJ
>>>>>>
>>>>>>
>>>>>>Something odd happens when I open a previously saved project, and it tries to remember the path to the custom CSS file. It tries to use it as some sort of relative path which does not work. When I entered it then first I specified a full path.
>>>>>>
>>>>>>See the attached screen capture.
>>>>>>
>>>>>>I entered:
>>>>>>
>>>>>> d:\work\util\pdm_my\foxw.css
>>>>>>
>>>>>>
>>>>>>But, when I save and re-open the PDM Project, it has stored the CSS file path like this
>>>>>>
>>>>>> ../util/pdm_my/foxw.css,
>>>>>>
>>>>>
>>>>>Where is save pdm file?
>>>>>
>>>>>The custom css and js files are stored in pdm file relative to pdm file. It's equal to relative path for files in project.
>>>>>
>>>>>MartinaJ
>>>>
>>>>
>>>>In my case, the pdm.exe file is located in the folder:
>>>>
>>>> d:\work\util\pdm
>>>>
>>>>
>>>>but the output of the html files it to
>>>>
>>>> c:\users\matt\pdm
>>>>
>>>>
>>>>and the css file is located here:
>>>>
>>>> d:\work\util\pdm_my\foxw.css
>>>>
>>>>
>>>>
>>>>So, you see that some files are on the D: and some are on C:
>>>>
>>>>Perhaps you should make the path to the CSS be relative to where the html files are located, which may not be on the same drive letter as where the pdm.exe was located.
>>>>
>>>>.
>>>
>>>And where is locate PDM project file (*.pdm)?
>>
>>
>>The PDM project file is located at:
>>
>> d:\work\lm_3\lm.pdm
>>
>>
>>
>>It all works fine when I type in the above path for the css and generate the PDM documentation. The CSS file that I specify gets copied into the css folder in the output destination, so it renders correctly.
>>
>>The problem comes when I save the project and exit PDM, then the next time I use PDM and open the project, it has not stored the original path that I specified, but it has converted it to some relative path that is just not right.
>>
>>Whay doesn't it just store the path in the way that I specify it? I.e. leaving the full path to the CSS file as "d:\work\util\pdm_my\foxw.css" ?
>>
>>.
> Eee... If you move pdm project to another folder, the PDM cannot be found custom files.
>My example (relative path):
>custom css file: d:\work\lm_3\foxw.css
>pdm file: d:\work\lm_3\lm.pdm
>saved css file location: foxw.css
>After move project new folder, then PDM has not problem find css file.
>
>My example (absolute path):
>custom css file: d:\work\lm_3\foxw.css
>pdm file: d:\work\lm_3\lm.pdm
>saved css file location: d:\work\lm_3\foxw.css
>After move project new folder, then PDM has problem find css file or use bad css file.
>
>Your example (relative path):
>custom css file:d:\work\util\pdm_my\foxw.css
>pdm file: d:\work\lm_3\lm.pdm
>saved css file location: ../util/pdm_my/foxw.css
>After move project new folder, then PDM has problem find css file or use bad css file.
>
>Your example (absolute path):
>custom css file:d:\work\util\pdm_my\foxw.css
>pdm file: d:\work\lm_3\lm.pdm
>saved css file location: d:\work\util\pdm_my\foxw.css
>After move project new folder, then PDM has not problem find css file.





>
>The base philosophy of PDM and custom files is "All custom files are with PDM project file."
>
>MartinaJ


No problem... I will move my css file to the same folder as mu PDM Project file.


Thanks.


.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform