473,386 Members | 1,708 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Updating Access Report using Excel

What I am trying to achieve:
Basically I have generated a report in access. This report needs to be updated using excel. (Updating the new data, not changing existing data)

What I did was I imported the existing report into Excel (Tools – Office Links – Analyze It with MS Excel). Then I linked the report to the Excel file. (File – Get External Data – Link tables) and a link table was automatically generated.

I wanted to test the link, so I inputted new data into the excel file and saved it. Then I opened my report in access; the new data I inputted in Excel was not there. But the new inputted data did show up however in the “link table”, but I wanted the new inputted data to show up on my report.

Many people have suggested that I import the query (used to generate the report) into excel instead of the report itself. It would be much easier – and it worked. But the problem is that the excel file has to look like the report on access. If I import the query into excel, it would look like a table in excel.

Although, it didn’t work, but the excel file derived from the imported report is the format and design I need.

I tried to change the report source to the link table. And it triggered another problem. Since the link table looks exactly like the excel file, but it is in an access table, there are a lot of empty spaces and when I ran the report (the source is now the link table), a lot of information went missing.

Questions:
The new data inputted to the excel file has to show up on the report in access. So what could I do to make it work?

I have scans but I don't know how to attach it. Tried to use insert image, but it did't work.

Thanks in Advance!
Dec 7 '06 #1
4 3315
What I am trying to achieve:
Basically I have generated a report in access. This report needs to be updated using excel. (Updating the new data, not changing existing data)

What I did was I imported the existing report into Excel (Tools – Office Links – Analyze It with MS Excel). Then I linked the report to the Excel file. (File – Get External Data – Link tables) and a link table was automatically generated.

I wanted to test the link, so I inputted new data into the excel file and saved it. Then I opened my report in access; the new data I inputted in Excel was not there. But the new inputted data did show up however in the “link table”, but I wanted the new inputted data to show up on my report.

Many people have suggested that I import the query (used to generate the report) into excel instead of the report itself. It would be much easier – and it worked. But the problem is that the excel file has to look like the report on access. If I import the query into excel, it would look like a table in excel.

Although, it didn’t work, but the excel file derived from the imported report is the format and design I need.

I tried to change the report source to the link table. And it triggered another problem. Since the link table looks exactly like the excel file, but it is in an access table, there are a lot of empty spaces and when I ran the report (the source is now the link table), a lot of information went missing.

Questions:
The new data inputted to the excel file has to show up on the report in access. So what could I do to make it work?

I have scans but I don't know how to attach it. Tried to use insert image, but it did't work.

Thanks in Advance!
I am using Access 2003, I forgot to mention.
Dec 7 '06 #2
NeoPa
32,556 Expert Mod 16PB
I would never input data from an Excel spreadsheet that had been created from an Access report.
It may not seem helpful at the moment to you, but my advice is don't do it.
Dec 7 '06 #3
Thanks for the reply.
I spent like 3 days trying to do it, but couldn't get it to work.

It is not my choice to do it or not to it.

Something just came to mind, since on this entire report, I only need to update 1 field. Could I first import the entire report on to excel, but only link the report to the field that needs to be updated. [And freeze or lock the rest of the fields.]

Then I would link the report to excel. Then I would run a query on the link table, and pull only the field that has been updated. And somehow link this query to the report. But how to make sure the values match the record on the report?

I just started access couple days ago, I have no access logic. Is this do-able? Would there be a lot of manual labour?

Thanks in advance.
Dec 8 '06 #4
NeoPa
32,556 Expert Mod 16PB
It is not my choice to do it or not to it.
I do sympathise. IT is an area where you're too likely to be interfacing with users who can't grasp (searching for the right words here...) anything!
My advice, continue as you are, trying to oblige where possible, but work on suggesting alternative solutions which are better supported by the tools. If you're lucky and can find one, start educating one of your users to problems of doing things the 'wrong' way. This depends on their being open to such education.
Something just came to mind, since on this entire report, I only need to update 1 field. Could I first import the entire report on to excel, but only link the report to the field that needs to be updated. [And freeze or lock the rest of the fields.]

Then I would link the report to excel. Then I would run a query on the link table, and pull only the field that has been updated. And somehow link this query to the report. But how to make sure the values match the record on the report?

I just started access couple days ago, I have no access logic. Is this do-able? Would there be a lot of manual labour?

Thanks in advance.
This is where life becomes difficult. Linking to Excel is a great little facility, but really expects the data in simple columns. Your data may fit that layout, in which case you should be able to get what you want from it. If not, that is the sort of complicated issue that is hard to assist on remotely.
In Access you can run a query to append the data you want from Excel into an Access table. This is not absolutely necessary but should make life easier for you, especially in the area of finding problems.
Without really know much about your actual data I can only say that from there you should have the tools necessary to update your data (that the report runs off) or alternatively, introduce it into your reports query.

If you need more help then you will need to bit more specific with what you're working with (record layouts; field names and types; etc).
Dec 8 '06 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

11
by: Mr. Smith | last post by:
Hello all, My code can successfully open, write to, format and save several worksheets in a workbook then save it by a given name, close and quit excel. My problem is that if I try and do it...
7
by: pw | last post by:
Hi, We need a Gantt chart type calendar for Access 97 (and soon, Access 2003). We need it to list the days of the month (for a date range) going horizontally across the top, the names of the...
2
by: cjay85 | last post by:
I wish to direct reports that I have created in Access to Excel enabling me to produce a graphical output from Excel. The report is a simple query regarding responses to a letter mailing. There...
18
by: Andre Laplume via AccessMonster.com | last post by:
I have inherited a bunch of dbs which are are shared among a small group in my dept. We typically use the dbs to write queries to extract data, usually dumping it into Excel. Most dbs originated...
7
by: ddecoste | last post by:
I have a need to add a visual representation to some data in Access. I need to draw a matix of squares inside another square. I have all the data that I need in a record in Access. The data...
6
by: DeniseY | last post by:
I have an Access report that is created on the fly by the user selecting the fields to be included. The Access report comes out fine, but I want it to automatically output to an Excel spreadsheet....
1
by: Neil Chambers | last post by:
This is more likely a question for an SQL group but as I'm using powershell and dotnet it may be relevant Overview: I'm trying to pull data from Excel into a DataSet - modifying the DataSet -...
23
by: helm | last post by:
Folks, could anyone advise ... Is there a significant difference in crosstab capabilities in Access and Excel? Using Office XP 2002 ... to produce a crosstab report I developed it in Excel from...
9
by: prakashwadhwani | last post by:
Hi !! I'm about to develop a new project for a client. Should I go about it in Access 2003 or 2007 ? Purchasing it either for me or for my client is not a major consideration here ... what I'd...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.