Hi Kelly,
You can build XML list in VFP using text merge or simply scanning through a cursor. As long as it is in the format described in sp_xml_preparedocument parameters, Sql Server would be able to process it.
>I think that I understand the example but how would I get the list of member numbers into the proper format? Or is that what sp_xml_preparedocument does?
>
>Kelly
--sb--