Home » Developer & Programmer » Forms » uploading mdb access file into oracle database with the help of forms
uploading mdb access file into oracle database with the help of forms [message #85368] Fri, 18 June 2004 04:47 Go to next message
subhasish
Messages: 33
Registered: May 2000
Member
Hi all,
Can any one let me know how to upload mdb access file into oracle database with the help of forms. Say mdb file is the file generated from ARS(attendence recording System). This file data need to be uploaded to oracle table.. any idea?? . Is it possible with forms 6i.

Thanks in advance.........
Subhasish
Re: uploading mdb access file into oracle database with the help of forms [message #85371 is a reply to message #85368] Fri, 18 June 2004 08:36 Go to previous messageGo to next message
Tak Tang
Messages: 142
Registered: May 2004
Senior Member
You could use Open Client Adaptor - which is on the forms 6i cd. This allows you to use ODBC like a normal connection.

You can see an upload example here :-

http://www.geocities.com/oranails/

Alternatively, you could use DDE or OLE to 'drive' Access. There is also a script for extracting data from excel/access files in the scripts download section, under windows.

Tak
Re: uploading mdb access file into oracle database with the help of forms [message #85375 is a reply to message #85371] Sat, 19 June 2004 03:37 Go to previous messageGo to next message
subhasish
Messages: 33
Registered: May 2000
Member
Thanks Tak, But I could not get anything out of it.Can u please tell how to use DDE or OLE from forms...
also i could not see any example in http://www.geocities.com/oranails/


Presently I am running an application with forms6i , oracle 8i on 9IAS server.

With Rgds
Subhasish
Re: uploading mdb access file into oracle database with the help of forms [message #85384 is a reply to message #85375] Mon, 21 June 2004 03:54 Go to previous message
Tak Tang
Messages: 142
Registered: May 2004
Senior Member
The ODBC/OCA example is here :-
http://www.geocities.com/oranails/tools/data_import.htm

You can find an ole example by doing a search on this site under the forms forum for 'FORMS OLE TRANSFERT'.

Here is a thread that includes DDE samples :-
http://forums.oracle.com/forums/thread.jsp?forum=82&thread=245461&start=15&msRange=15

I never understood DDE well enough to use it. I have used OLE from Windows Scripting Host, but not from Forms 6i. Unfortunately, you need to learn the 'object model' associated with the ole object you are using - in this case MS Access. I dont have Access, so I cant offer any sample code. You should be able to get documentation and samples from microsoft developers network - I think its under 'office'.

Did you manage to get item number 1 from here? :-
http://www.orafaq.net/scripts/index.htm#WIN

Hope this helps.

Tak
Previous Topic: Sql Query
Next Topic: Sql Query
Goto Forum:
  


Current Time: Tue May 07 02:00:04 CDT 2024