By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,373 Members | 1,763 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,373 IT Pros & Developers. It's quick & easy.

Excluding Fields On Export

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a

"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 discussion thread is closed

Replies have been disabled for this discussion.