ShaneBrennan
Programmer
Hello
I have an access database and a VB6 application that will interigate the access database and produce a report in word using automation.
This works perfectly except for memo fields. Where I get about 260 characters perfectly then I get the silly Hieroglyphics symbols appearing.
Someone suggested using adodb and the getchunk function. However I get an "Operation Not Allowed in this Context" Error when using the get chunk method on the following code:
Set Conn = CreateObject("ADODB.Connection")
Conn.ConnectionString = "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & DB & ";"
Conn.Open
Set rsSurvey = Conn.Execute("SELECT TheMemo from tblSurveyData where Surveys.ID = " & 601)
MemChunk = rsSurvey("TheMemo").GetChunk(4000)
Can anyone help me please.
Thank you in advance for any help given.
Shane Brennan
I have an access database and a VB6 application that will interigate the access database and produce a report in word using automation.
This works perfectly except for memo fields. Where I get about 260 characters perfectly then I get the silly Hieroglyphics symbols appearing.
Someone suggested using adodb and the getchunk function. However I get an "Operation Not Allowed in this Context" Error when using the get chunk method on the following code:
Set Conn = CreateObject("ADODB.Connection")
Conn.ConnectionString = "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & DB & ";"
Conn.Open
Set rsSurvey = Conn.Execute("SELECT TheMemo from tblSurveyData where Surveys.ID = " & 601)
MemChunk = rsSurvey("TheMemo").GetChunk(4000)
Can anyone help me please.
Thank you in advance for any help given.
Shane Brennan