After much work and on preview 980 (yes, that is 980 different previews learning this) I have create this code snippit that works for me very well. This is currently connected to a MS access database, but if I was to create an XML structure for this it would probably look like this <myFields> <dataFields>...