M
M Ho
Dear all,
I'm trying export a search result from the Form View by using the
following command.
Public Sub cmdExport_Click()
Dim fileName As String
fileName = InputBox("Export Excel file name:", "Enter file name")
DoCmd.OutputTo acForm, "SearchRecords", "MicrosoftExcel(*.xls)",
"c:\" & fileName & ".xls", True, ""
End Sub
However, as a result, for all the fields which the field type are MEMO
and containing data exceed 255 characters were cutted down to only 255
characters in the exported excel file. Hence, some data is missing
within those MEMO fields.
Looking forward for your precious advice.
Thanks a lot.
M Ho
I'm trying export a search result from the Form View by using the
following command.
Public Sub cmdExport_Click()
Dim fileName As String
fileName = InputBox("Export Excel file name:", "Enter file name")
DoCmd.OutputTo acForm, "SearchRecords", "MicrosoftExcel(*.xls)",
"c:\" & fileName & ".xls", True, ""
End Sub
However, as a result, for all the fields which the field type are MEMO
and containing data exceed 255 characters were cutted down to only 255
characters in the exported excel file. Hence, some data is missing
within those MEMO fields.
Looking forward for your precious advice.
Thanks a lot.
M Ho