webutil not working in solaries [message #506529] |
Mon, 09 May 2011 12:44 |
kalpataru
Messages: 72 Registered: January 2010 Location: INDIA
|
Member |
|
|
Hi all,
i have insert image using webutil(oracle forms 10g) to database in windows o.s. it was successful.
but when i have tried it in solaries o.s. .
It is not working in linux how to do it in solaries o.s.
when i am clicking on the browse button it is showing pl/sql error how to solve it.
please guide me ..
|
|
|
|
Re: webutil not working in solaries [message #506546 is a reply to message #506529] |
Mon, 09 May 2011 15:13 |
joy_division
Messages: 4963 Registered: February 2005 Location: East Coast USA
|
Senior Member |
|
|
Sounds like you had an application server on Windows and now you have one on either linux or unix. Maybe webutil was not installed on that servers. You really didn't give any information, including an error message.
|
|
|
Re: webutil not working in solaries [message #506891 is a reply to message #506546] |
Wed, 11 May 2011 11:29 |
kalpataru
Messages: 72 Registered: January 2010 Location: INDIA
|
Member |
|
|
hi all,
i want to run webutil form in linux.
i am using using a demo form of webutil which is available on internet i.e WEBUTIL_DOCS.fmb
which is working fine on windows sp2(when i am clicking on the browse button)
but it is not working on linux when i am clicking on the browse button it is showing pl/sql error.
code in browse butrton
Declare
LC$Fichier Varchar2(128 ) ;
Begin
LC$Fichier := PKG_FICHIERS.Selection ;
If LC$Fichier is not null Then
:TRANSFERTS.FIC_SOURCE := LC$Fichier ;
End if ;
End ;
and the package is
package specification
==================
PACKAGE PKG_FICHIERS IS
-- Sélection d'un fichier --
FUNCTION Selection ( PC$Filtre IN Varchar2 DEFAULT '|All files|*.*|' ) RETURN VARCHAR2 ;
END;
package body
=============
PACKAGE BODY PKG_FICHIERS IS
-- Sélection d'un fichier --
FUNCTION Selection ( PC$Filtre IN Varchar2 DEFAULT '|All files|*.*|' )RETURN VARCHAR2
IS
LC$Path Varchar2(128) ;
LC$Fichier Varchar2(256) ;
LC$Filtre Varchar2(100) := PC$Filtre ;
Begin
-- Répertoire temporaire --
LC$Path := CLIENT_WIN_API_ENVIRONMENT.Get_Temp_Directory ;
LC$Fichier := WEBUTIL_FILE.FILE_OPEN_DIALOG
(
LC$Path,
'',
LC$Filtre,
'Select a file to upload'
) ;
Return LC$Fichier ;
END Selection ;
END;
please reply..
|
|
|