S
Scott Tucker
The following code works just fine with Word 97 and ADO
2.1 to 2.6. However, with Word 97 and ADO 2.7 (i.e.
Windows XP) it won't even compile. I get a "Compile
error: invalid use of object," and it highlights Append.
Object Browser shows that ADODB 2.7 has a Fields class
and an Append method. Any ideas?
Dim rsTemp As New ADODB.Recordset
rsTemp.Fields.Append "AField", adBSTR
Thanks,
Scott
(e-mail address removed)
2.1 to 2.6. However, with Word 97 and ADO 2.7 (i.e.
Windows XP) it won't even compile. I get a "Compile
error: invalid use of object," and it highlights Append.
Object Browser shows that ADODB 2.7 has a Fields class
and an Append method. Any ideas?
Dim rsTemp As New ADODB.Recordset
rsTemp.Fields.Append "AField", adBSTR
Thanks,
Scott
(e-mail address removed)