Home » Developer & Programmer » Forms » How to remove hard coading.. (10g forms migration)
How to remove hard coading.. [message #380119] Fri, 09 January 2009 03:46 Go to next message
sirivijay
Messages: 48
Registered: October 2008
Member
Hi,
We are migrating forms 6i to 10g ,We need to upload a file contents to database.for developing im using the machine with both App server and developer suit loaded.so im taking two paths called client path and server path..im copying the file to server path and uploading the file and bringing log and bad files back to client path and deleting all files in server path..
for this i hard coaded all the paths

but when deploying i cannot fix the client path as it will not workwhen used with diff machines..whats the best way to implement it?

any functionality to giv those paths in an ini file and load it?..if so i did nt find any function to do that..
Please suggest me something ..
Thanks in advance
Pradeep Kumar
Re: How to remove hard coading.. [message #380418 is a reply to message #380119] Sun, 11 January 2009 22:05 Go to previous message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Use the 'webutil' function for opening a file and let it point to the local file that is to be read. Search this forum for 'open file'.

David
Previous Topic: Hyper link in oracle Report
Next Topic: Send mail with logo visible
Goto Forum:
  


Current Time: Sat Dec 03 01:31:11 CST 2016

Total time taken to generate the page: 0.12704 seconds