I am trying to Import data from Word Form into Access. One Access's column is named "Narrative" and Data Type is set to Memo.
The Word Form maximum length is 1000 for this same field.
However, the ADO VBA code is only importing 255 data whereas this field on Word has 372. How can my code below import all 372 data...
With rst
.AddNew
!Item = doc.FormFields("Text1").Result
!Portfolio = doc.FormFields("Text2").Result
!Department = doc.FormFields("Text3").Result
!Directorate = doc.FormFields("Text4").Result
!ServiceArea = doc.FormFields("Text5").Result
!Title = doc.FormFields("Text6").Result
!Narrative = doc.FormFields("Text7").Result
!CouncilPlanTheme = doc.FormFields("Text8").Result
!CouncilPlanThemeRef = doc.FormFields("Text9").Result
!PrimaryDriver = doc.FormFields("Text10").Result
!PrimaryDriverRef = doc.FormFields("Text11").Result
!SupportingInformation = doc.FormFields("Text12").Result
.Update
.Close
End With
The affected one is...!Narrative = doc.FormFields("Text7").Result
The Word Form maximum length is 1000 for this same field.
However, the ADO VBA code is only importing 255 data whereas this field on Word has 372. How can my code below import all 372 data...
With rst
.AddNew
!Item = doc.FormFields("Text1").Result
!Portfolio = doc.FormFields("Text2").Result
!Department = doc.FormFields("Text3").Result
!Directorate = doc.FormFields("Text4").Result
!ServiceArea = doc.FormFields("Text5").Result
!Title = doc.FormFields("Text6").Result
!Narrative = doc.FormFields("Text7").Result
!CouncilPlanTheme = doc.FormFields("Text8").Result
!CouncilPlanThemeRef = doc.FormFields("Text9").Result
!PrimaryDriver = doc.FormFields("Text10").Result
!PrimaryDriverRef = doc.FormFields("Text11").Result
!SupportingInformation = doc.FormFields("Text12").Result
.Update
.Close
End With
The affected one is...!Narrative = doc.FormFields("Text7").Result