473,395 Members | 1,574 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,395 software developers and data experts.

Deleted fields and now cannot export to Excel

To preface this post, I personally did not create the database in question.
It was created by someone working for our technical support provider. That
person has since left the company and is not reachable. Therefore, we should
bear in mind that I have no knowledge of how this database was initially set
up. Also, I have no programming experience whatsoever and only managed to do
what I've done because of J_Goddard's post to a thread I created on MSFT's
Discussion Groups page.
(http://www.microsoft.com/office/comm...=en-us&m=1&p=1)
I had asked how to merge two fields and then delete one of them. I have done
that. Now, however, the macro that the man set up returns #Name? in each
field that I changed. Big problem. Especially because I can no longer
export to Excel. It gives me this error: "The INSERT INTO statement contains
the following unknown field name: 'Atty'."

Is this something that I am going to be able to fix? I have no idea where to
start, but am pretty technically savvy. Thank you in advance for your help!

Apr 2 '08 #1
1 1646
On Apr 2, 12:20*pm, "bmcgeoch" <u42638@uwewrote:
To preface this post, I personally did not create the database in question..
It was created by someone working for our technical support provider. *That
person has since left the company and is not reachable. *Therefore, we should
bear in mind that I have no knowledge of how this database was initially set
up. *Also, I have no programming experience whatsoever and only managed to do
what I've done because of J_Goddard's post to a thread I created on MSFT's
Discussion Groups page.
(http://www.microsoft.com/office/comm....mspx?dg=micro....)

I had asked how to merge two fields and then delete one of them. *I havedone
that. *Now, however, the macro that the man set up returns #Name? in each
field that I changed. *Big problem. *Especially because I can no longer
export to Excel. *It gives me this error: "The INSERT INTO statement contains
the following unknown field name: 'Atty'."

Is this something that I am going to be able to fix? *I have no idea where to
start, but am pretty technically savvy. *Thank you in advance for your help!
The error is exactly what your error message says it is. the query
that drives the export still references the deleted field name.
Modify the query that cretes the export and you SHOULD be good to go.
There may or may not be otehr issues.
Apr 2 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Omey Samaroo | last post by:
Dear Access Gurus, Can anyone provide me with some much needed assistance. I would like to combine the contents of 3 text fields into one field. Can someone provide some code or a method to do...
5
by: Maria L. | last post by:
Hi, I need to export the content of a DataGrid (in Windows application in C#), into an Excel spreadsheet. Anyone knows how to do this? Any code snippets would help! thanks a lot, Maria
3
by: Agnes | last post by:
Dim dsExcelExport As New System.Data.DataSet Dim daExcelExport As New System.Data.SqlClient.SqlDataAdapter Dim Excel As New Excel.Application Dim strExcelFile As String Dim strFileName As...
13
by: Hemant Sipahimalani | last post by:
The following piece of code is being used to export HTML to excel. HttpContext.Current.Response.ContentType = "application/vnd.ms-excel"...
5
by: Simon | last post by:
Dear reader, With the export command you can export a query to Excel. By activate this command a form pop's up with the following text:
0
by: KNN | last post by:
I have created a report in access 2003 using a query. Used some of the fields to display under page header. Used others to display under group headers and used the remaining under detailed...
1
by: smaczylo | last post by:
Hello, I've recently been asked to work with Microsoft Access, and while I feel quite comfortable with Excel, I'm at a complete loss with databases. If someone could help me with this issue I'm...
2
by: Cara Murphy | last post by:
Hi There, I am hoping to be able to export a table from Access to Excel, however I would like to be able to select the fields that I want to export... For example, my Table has 23 fields, but...
2
hemantbasva
by: hemantbasva | last post by:
Note We need to have a template on server for generating report in multiple sheet as we do not had msoffice on server moreover this require a batch job to delete excel file created by the...
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: 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: 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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.