Hi all, I think I have found a little bug in the dbgetxml routine. near the beginning is the xml preamble the string "utf-8"?>vbLf where vbLF is a line feed. I think it should be "utf-8"?>vbCRLf where vbCRLF is a carriage return line feed. Effectively message lines are split on CRLF's whereas this is missing the CR so it all goes 'tits up' so to speak. At the moment I am doing a search replace to put back the CR This took me ages to find !!! an example dump is [MLCBUS5] 347-<?xml version="1.0" encoding="utf-8"?> [MLCBUS5] 347-<Installation><OID>b6850340-e343-1027-a6c0-89e8 ....... the end of the first line is a LF not CRLF Thanks Chris