Dim
loDS.ReadXml(loOpenFileDialog.FileName)
Try
loBusinessObject.CopyDataFrom(loDS.Tables(0), MicroFour.StrataFrame.Business.BusinessCloneDataType.ClearAndFillFromCompleteTable)
loBusinessObject.CurrentRow.SetAdded()
loBusinessObject.Save()
When I stop before the save, the fields that have GUID types in them, have an error of "Specified cast is not valid".
Do I need to write a method to copy the data from this XML file into the Businessobject converting values to the types they need to be as they get copied in, or am I missing something in the copying?
Thanks,
Robin Giltner
ClearAndFillFromCompleteTable" to "
AppendDataToTableFromCompleteTable" seems to have fixed my problem.
Are you guys just using mental projection now to cut down on forum traffic or what? ;-)
Yeah...it is a new tactic we have started implementing
Glad you found it