Naqibullah
Registered User.
- Local time
- Today, 16:14
- Joined
- Feb 7, 2013
- Messages
- 86
Dear valued colleagues,
hope everyone is doing well, i have created a report in an access database, in this report i have placed a button which should export this current report to ms excel, it is to mentioned i have persian data in my database, but it does not allow me to export to excel(error 2282), i have exported the query based on which this report is to excel, but the exported file included only question marks but not my data. following is my code to export report to excel
DoCmd.OutputTo acOutputReport, MaterialReport, acFormatXLS, ""
but it gives following error no. 2282, format is not available
and the following code
DoCmd.OutputTo acOutputquery, Materialquery, acFormatXLS, ""
exports to excel but all data is converted to question marks
please help me to sort out this
Regards
hope everyone is doing well, i have created a report in an access database, in this report i have placed a button which should export this current report to ms excel, it is to mentioned i have persian data in my database, but it does not allow me to export to excel(error 2282), i have exported the query based on which this report is to excel, but the exported file included only question marks but not my data. following is my code to export report to excel
DoCmd.OutputTo acOutputReport, MaterialReport, acFormatXLS, ""
but it gives following error no. 2282, format is not available
and the following code
DoCmd.OutputTo acOutputquery, Materialquery, acFormatXLS, ""
exports to excel but all data is converted to question marks
please help me to sort out this
Regards