472,780 Members | 1,828 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,780 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 3242
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,534 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,534 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: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.