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

Excluding Fields On Export

I have the following code:

Select Case Me.optOutputOptions
Case 1
DoCmd.OpenReport strReportName, acViewPreview
Case 2
DoCmd.OutputTo acOutputReport, strReportName,
"MicrosoftExcel(*.xls)", , True
End Select

Works great, but when I do the export, I'd like to exclude some of the
text boxes that are coming over. Is there a way to do this without
making another report?

Thanks,
Brian

Mar 13 '07 #1
1 1958

"BerkshireGuy" <be*************************@yahoo.comwrote in message
news:11**********************@t69g2000cwt.googlegr oups.com...
>I have the following code:

Select Case Me.optOutputOptions
Case 1
DoCmd.OpenReport strReportName, acViewPreview
Case 2
DoCmd.OutputTo acOutputReport, strReportName,
"MicrosoftExcel(*.xls)", , True
End Select

Works great, but when I do the export, I'd like to exclude some of the
text boxes that are coming over. Is there a way to do this without
making another report?

Thanks,
Brian

Another option maybe the TransferText Method...

Using TransferText you can and output the results of a query to a csv file.

Paul
Mar 13 '07 #2

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

Similar topics

1
by: Paolo | last post by:
Frinds, I am creating a form which exports and prints data to a Word file named FORM1. This word file has some fields which I have bookmarked and one of its fields is named NAME. The code that...
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...
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...
6
by: Truck Estevez | last post by:
Hey, intermediate php/mysql user here. I have a mailing list form on my website, what i'd ultimately like to happen is when the user submits their information that all goes into the database. The...
1
by: sesling | last post by:
We have several tables that store numeric data as well as text fields that we receive from our customers. Some customers use " in the text fields. When I query the data and export the results to a...
6
by: Barry Edmund Wright | last post by:
Hi, We are having a large cheque run printed by an outside printer. The printer asked us to give him the layout of the fields to print on a form and send it to him. As an example the form looks...
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...
0
by: eyemustbecrazy | last post by:
Hi, I know how to export whole tables as follows... <elsnipo> 'Export This Table strTable = "tblthis" strSql = "SELECT " & strTable & ".* INTO " & strTable & " IN """ &
1
by: bmcgeoch | last post by:
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...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.