Im developing an application in 10g forms. I want to make my forms as portable as possible. So, for example, if I have a button on a form that builds a URL that runs a report:
vc_url:='&userid='||vc_user_name||'/'||vc_user_pw||'@'||vc_user_connect;
I can use a global variable so that I dont have much trouble maintaining the form, but what Id like to do is have a myapp.cfg file or something that I can read the server_ip variable from. If I have a couple of dozen forms now, I have to modify each of them to configure the global variable if i change servers. But if I have a cfg file, I could just change the server there ONE time and not have to touch each form.
Does anybody have any suggestions for how to accomplish this kind of thing? Any suggestions would be appreciated.
vc_url:='&userid='||vc_user_name||'/'||vc_user_pw||'@'||vc_user_connect;
I can use a global variable so that I dont have much trouble maintaining the form, but what Id like to do is have a myapp.cfg file or something that I can read the server_ip variable from. If I have a couple of dozen forms now, I have to modify each of them to configure the global variable if i change servers. But if I have a cfg file, I could just change the server there ONE time and not have to touch each form.
Does anybody have any suggestions for how to accomplish this kind of thing? Any suggestions would be appreciated.