B
Bodo
Access: 2002, SP3 (10.6501...)
Excel: 2002, SP3 (10.6841..)
Hi,
when I run the following code from my Access database the values from
memo field values are getting truncated when transfered to an excel sheet
using TransferSpreadsheet:
Set qdf = CurrentDb.CreateQueryDef(Queryname)
With qdf
.SQL = "Select * INTO " & TargetTable & " from myQuery " & WhereClause
.Execute dbFailOnError
.Close
End With
Set qdf = Nothing
CurrentDb.TableDefs.Refresh
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, TargetTable,
Me!ExportPfaddatei, True
I noticed that access creates a TargetTable_Exporterror table with a record
indicating a truncate error with the memo field.
Appreciate any thoughts on how to troubleshoot.
Excel: 2002, SP3 (10.6841..)
Hi,
when I run the following code from my Access database the values from
memo field values are getting truncated when transfered to an excel sheet
using TransferSpreadsheet:
Set qdf = CurrentDb.CreateQueryDef(Queryname)
With qdf
.SQL = "Select * INTO " & TargetTable & " from myQuery " & WhereClause
.Execute dbFailOnError
.Close
End With
Set qdf = Nothing
CurrentDb.TableDefs.Refresh
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, TargetTable,
Me!ExportPfaddatei, True
I noticed that access creates a TargetTable_Exporterror table with a record
indicating a truncate error with the memo field.
Appreciate any thoughts on how to troubleshoot.