dbTalk Databases Forums  

Importing Excel File and generating Reports in access

comp.database.ms-access comp.database.ms-access


Discuss Importing Excel File and generating Reports in access in the comp.database.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Neha
 
Posts: n/a

Default Importing Excel File and generating Reports in access - 01-05-2004 , 08:31 AM






Dear All,

I have hospital payroll dept file in excel which has data directorate,
departments, wards , grade , budget etc. This file has alot of filter
information. I want to import this file in access 2000 and generate
reports based on user select different options from a form built in
access.

any suggestions r more welcome. If u r willing to help me i can email
u file too

thx in advance

Neha

Reply With Quote
  #2  
Old   
Ira Solomon
 
Posts: n/a

Default Re: Importing Excel File and generating Reports in access - 01-05-2004 , 09:12 AM






Neha:

The import may be trivial.
Just goto File/Import in Access and try it.

You will get one of 4 results.

A correct usable table.
--------------
An error message on some columns, but a good import otherwise.
This occurs if the columns are not uniform. The import allows
for the first row as headers. It then assumes that the first item in
a column is the pattern for the others, so if the first item is a
number and the next is text it will complain.
----------------------------
A failure to import with no explanation. If this happens, use Excel
to export the file to CSV format. Then import that.
----------------------------------------------
A good import that is not usable.

If your Excel sheet looks like this:

Product ID: XXXX

New York yyyyy
New Jersey zzzzz

Product ID: AAAA

New Hampshire bbbbb


it will import fine, but the table will be useless without using code
to fix it.

Good luck

Ira Solomon

On 5 Jan 2004 06:31:59 -0800, newlooks4u (AT) hotmail (DOT) com (Neha) wrote:

Quote:
Dear All,

I have hospital payroll dept file in excel which has data directorate,
departments, wards , grade , budget etc. This file has alot of filter
information. I want to import this file in access 2000 and generate
reports based on user select different options from a form built in
access.

any suggestions r more welcome. If u r willing to help me i can email
u file too

thx in advance

Neha


Reply With Quote
  #3  
Old   
Neha
 
Posts: n/a

Default Re: Importing Excel File and generating Reports in access - 01-05-2004 , 02:50 PM



Thanks for your reply. the detail of file is as follow


I have excel file which has information about Payroll department of a
hospetal. The excel sheel is filetred based on department , wards,
staffgroup etc. I have imported the excel file in Access 2000

I want that user can select various options based on departments,
wards, staffgroup etc and then print the report whatever he has chosen

I have created the form with the following combo boxes

Directorate(All, or usercan select one)
Service Area(All, or depending upon the Directorate selected by user)
Ward (All, or depending upon the staffgroup selected by user)
Grade(All, or depending upon the ward selected by user)

After selecting these options user will click on Report button and the
report should show the name of the selections and the related budget
information

I have one table which stores all the information. Any help will be
higly appreciated

Regards

Neha

Ira Solomon <isolomon (AT) solomonltd (DOT) com> wrote

Quote:
Neha:

The import may be trivial.
Just goto File/Import in Access and try it.

You will get one of 4 results.

A correct usable table.
--------------
An error message on some columns, but a good import otherwise.
This occurs if the columns are not uniform. The import allows
for the first row as headers. It then assumes that the first item in
a column is the pattern for the others, so if the first item is a
number and the next is text it will complain.
----------------------------
A failure to import with no explanation. If this happens, use Excel
to export the file to CSV format. Then import that.
----------------------------------------------
A good import that is not usable.

If your Excel sheet looks like this:

Product ID: XXXX

New York yyyyy
New Jersey zzzzz

Product ID: AAAA

New Hampshire bbbbb


it will import fine, but the table will be useless without using code
to fix it.

Good luck

Ira Solomon

On 5 Jan 2004 06:31:59 -0800, newlooks4u (AT) hotmail (DOT) com (Neha) wrote:

Dear All,

I have hospital payroll dept file in excel which has data directorate,
departments, wards , grade , budget etc. This file has alot of filter
information. I want to import this file in access 2000 and generate
reports based on user select different options from a form built in
access.

any suggestions r more welcome. If u r willing to help me i can email
u file too

thx in advance

Neha

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.