>If I am in PC # 1, it saves as:
>
>C:\a1\gera2\anexos\169_0MRBSPpaypal.jpg && sample 1
>
>If I am in PC # 2, it saves as:
>
>\\MFP-E2AEDFAF374\A1\GERA2\\anexos\169_0MRBSPpaypal.jpg && sample2
>
>I am using SYS(5) + curdir() + "\anexos" to capture the location
>
>It this a correct way to save files location ?
>
>I can not access file path sample 1 if I am calling it from PC # 2
Nope, becuase if the user from PC 2 try to open the file saved in PC1 it will fail just because that file didn't exists in the PC2. Always try to save the file with its UNC name.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.