Calculated field gets truncated during XML Export of a query

D

drew

I am exporting a query to XML using the "adPersistXML" format. This
works really well except one (calculated) field keeps getting
truncated. Is there a way to force the size of the field to be larger
than 255 characters when exporting the recordset?

The reason for doing this in VBA is because the regular Export Data
from the File Menu saves the XML in the wrong format (I need to be able
to bring it into a dynamic Web page using ADO recordset).

Here is the code I am using to save the recordset...

_____________________
With rst
.Open StrQryname, conn, adOpenDynamic, adLockOptimistic
.Save strFilename, adPersistXML
.Close
End With
_____________________

Thanks,
Drew
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top