Home » Developer & Programmer » Forms » Loading data from excel into a table
Loading data from excel into a table [message #82872] Thu, 10 July 2003 15:33 Go to next message
sandu
Messages: 51
Registered: June 2003
Member
Scenario:-

Form layout:-

Browse :- ________
start (button)
end (button)

Excel layout:-
emp.xls

Empno name
100 xyz
200 pqr

Table layout:-

Create table emp(
Empno varchar2(20),
name varchar2(40))

Question:-

I would like the user to browse a file from
his local machine named emp.xls. Once the user
selects the file he should be able to hit the start
button to load data into an oracle table 'emp'.
Is this doable using forms 4.5. If so how?.
Thx.
Re: Loading data from excel into a table [message #82884 is a reply to message #82872] Mon, 14 July 2003 05:06 Go to previous messageGo to next message
sujit
Messages: 94
Registered: April 2002
Member
hi,
You can rather ask for csv format. upon giving in FLAT TEXT format you can use the sqlldr utily to upload data into your table.

Sujit
Re: Loading data from excel into a table [message #82887 is a reply to message #82884] Mon, 14 July 2003 13:19 Go to previous messageGo to next message
sandu
Messages: 51
Registered: June 2003
Member
Sujit,

Sqlldr with .csv file would definitely work.Done that
before. Seems like no way to read the hard drive from
a form like VB which has specific DLL's to do it.

Sandy.
Re: Loading data from excel into a table [message #82899 is a reply to message #82887] Tue, 15 July 2003 07:07 Go to previous messageGo to next message
Victoria
Messages: 152
Registered: July 2002
Senior Member
Hi,
I have a code to work in oracle forms.
If you need it i can give the code.

Thanks
~V~
Re: Loading data from excel into a table [message #82902 is a reply to message #82899] Tue, 15 July 2003 18:38 Go to previous messageGo to next message
sandu
Messages: 51
Registered: June 2003
Member
Pls. pass it on to me. or if you can just explain
as to how it was done, thats fine too. Thx.
Re: Loading data from excel into a table [message #86409 is a reply to message #82899] Tue, 28 September 2004 03:43 Go to previous messageGo to next message
irfan
Messages: 19
Registered: July 2001
Junior Member
pLEASE SEND ME THE CODE
THX IN ADVANCE
Re: Loading data from excel into a table [message #87267 is a reply to message #82899] Wed, 15 December 2004 20:06 Go to previous message
JOHN
Messages: 182
Registered: April 1998
Senior Member
If someone has the code that works in forms I would like a copy
Previous Topic: Re : Tabular form & current recod
Next Topic: Reading or writing in registry
Goto Forum:
  


Current Time: Sun Sep 08 03:41:29 CDT 2024