Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 Export Excel data to Access database, possible?

views
     
TSjimjim
post Jan 11 2006, 11:52 AM, updated 20y ago

~ Frekin Life ~
******
Senior Member
1,611 posts

Joined: Jan 2003
From: - Bak Kut Teh Valley -


sifu sifu, refering to the above, is it possible? pls advise
lelynx
post Jan 11 2006, 12:02 PM

Enthusiast
*****
Senior Member
838 posts

Joined: Aug 2005
From: Selangor


- create a new database in ACCESS
- then right-click, IMPORT, select Excel
- Locate your excel file and continue (follow the tip from the wizard)

TSjimjim
post Jan 11 2006, 03:19 PM

~ Frekin Life ~
******
Senior Member
1,611 posts

Joined: Jan 2003
From: - Bak Kut Teh Valley -


QUOTE(lelynx @ Jan 11 2006, 12:02 PM)
- create a new database in ACCESS
- then right-click, IMPORT, select Excel
- Locate your excel file and continue (follow the tip from the wizard)
*
how about scripting? if let say using SQL or using ASP3.0
lelynx
post Jan 11 2006, 04:46 PM

Enthusiast
*****
Senior Member
838 posts

Joined: Aug 2005
From: Selangor


Oh... you need to do that in a programming/scripting environment, is it?
I'm not fimilar with ASP but for JAVA, you can do it with Jakarta POI.
http://jakarta.apache.org/poi/

Read the data from Excel with POI and code something to pop it to Access.

This theory works as I have worked with POI to read data from Excel and use those data to draw out some nice graph in JSP pages.

Anyhow, if you opt for ASP; then I apologize of not able to assist much...
popcorn513
post Jan 11 2006, 05:58 PM

僕は戦闘機君は航空母艦
******
Senior Member
1,332 posts

Joined: Nov 2005


You should split the problem into 2 portion
1) First you need to solve how to retrieve data from Excel.
http://support.microsoft.com/default.aspx?...&NoWebContent=1
2) After solve the first problem, then you can start try to insert the data to access using regular insert statement
http://www.stardeveloper.com/articles/disp...00032601&page=1

However there should be got some component which can help you to import excel data to access, but the above method is the fundamental.


vic7or
post Feb 8 2006, 02:10 PM

Getting Started
**
Junior Member
74 posts

Joined: Nov 2005


u can use an ETL tool for that purpose
Hou_JaI
post Feb 9 2006, 11:02 PM

Regular
******
Senior Member
1,129 posts

Joined: Jan 2003


I used vba macro to do so

ADODB will solve your problem but the logic on how to loop among the cells is up to you smile.gif

 

Change to:
| Lo-Fi Version
0.0148sec    0.55    5 queries    GZIP Disabled
Time is now: 23rd December 2025 - 06:25 AM