Home » Developer & Programmer » Forms » path in open_form()
path in open_form() [message #81137] Wed, 15 January 2003 10:28 Go to next message
Rishi
Messages: 63
Registered: January 2001
Member
Hi All!!
i have use open_form() so many times in my application and also in custom menu...but in each place i hard code the full path of the *.fmx file but if in any case i want to change the location of .fmx file i have to change the path in each form other way i have to set the forms60_path on each client's computer..both of these r not a better way is any body can suggest me what should i do..is i should use project builder to build a project then how can i made project file...
Rishi
Re: path in open_form() [message #81147 is a reply to message #81137] Wed, 15 January 2003 23:34 Go to previous message
manish mendiratta
Messages: 110
Registered: May 2002
Senior Member
If you are using shortcuts then in property of short icon you can specify path in START IN field or else
in new form instance of forms create a global variable to set path use this for compelete path
:global.path:='c:testdata'

open_form(:global_path||'form_name'.....)

this will help.

Manish Mendiratta.
Previous Topic: Calling backend procedures from forms
Next Topic: ITS VERY VERY URGENT
Goto Forum:
  


Current Time: Fri Apr 26 11:29:38 CDT 2024