Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Retrieve path of form
Message
From
27/12/2004 09:22:46
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
00972326
Message ID:
00972330
Views:
14
>Hello All,
>
>I have a question about retrieving the path from where the form has been executed. For a program this can be done as follow :
justpath(sys(16))
. For a form I did this :
>
>JUSTPATH((SUBSTR(SYS(16),AT("\",SYS(16)) - 2)))
>
>I have some doubts if this is generic and I think that it can be simpler. So my question is there a simple command to retrieve the fullpath of a form.
>
>Thank you .
>
>Zakaria al Azhar

Hi there
Try to execute this line somewhere in yr form
wait wind justpath(sys(2071),thisform)
Rgds++
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Previous
Reply
Map
View

Click here to load this message in the networking platform