how can a choose directory path [message #86301] |
Mon, 20 September 2004 12:18 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
nidhi
Messages: 22 Registered: March 2002
|
Junior Member |
|
|
hi, How do I choose the path to save the file that is created using Forms( using TEXT_IO). I want to save data as excel file and give user the functionality to choose the path to save. I am using developer 9i
|
|
|
Re: how can a choose directory path [message #86309 is a reply to message #86301] |
Mon, 20 September 2004 23:18 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
Himanshu
Messages: 457 Registered: December 2001
|
Senior Member |
|
|
Hi,
Attached D2KWUTIL.pll to your form and make use of
Win_API_Dialog.Save_File option as follows:
L_FileName := NULL;
Out_File := 'R0631'||TO_CHAR(sysdate,'YYYYMMDD')||'_'||TO_CHAR(sysdate,'HH24MISS')||'_'||1;||'.CSV';
L_FileName :=Win_API_Dialog.Save_File(Out_File,'Save File As','C:Temp','All Files(*.*)|*.csv|',True,1,True);
HTH
Regards
Himanshu
|
|
|
|
|
|
Re: I have configured webutil --getting problem --urgent [message #86379 is a reply to message #86363] |
Mon, 27 September 2004 01:33 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
Himanshu
Messages: 457 Registered: December 2001
|
Senior Member |
|
|
Hi,
Did you configure your forms.cfg accordingly?
If not, then Change your formsweb.cfg file with the following line:
webUtilArchive=/forms90/webutil/webutil.jar,/forms90/webutil/jacob.jar
Make sure that the orion-web.xml file you are using have the following:
<virtual-directory virtual-path="/webutil" real-path="C:oracleWebUtil/lib" />
[[Note the forward and back slashes...]]
HTH
Regards
Himanshu
|
|
|
did it but still have same problem [message #86384 is a reply to message #86379] |
Mon, 27 September 2004 05:41 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
nidhi
Messages: 22 Registered: March 2002
|
Junior Member |
|
|
Acually I have configured it on a different path on F drive and I have added corresponding to it
webUtilArchive=f:/nd/lib/webutil.jar,f:/nd/jacob.jar
each jar are at this path.
virtual-directory virtual-path="/webutil" real-path="F:/nd/lib" />
Please tell me all the steps I should check, where I could have made mistake, I have tried it myself.
I always have confusion in terms of / and , could you please tell me where to use what?
Am I using the right one?
|
|
|
|