XML Dump import problem - More info

Stan Busk maxprog at mac.com
Thu Jan 15 03:14:42 CST 2009


Hi,

Related to the problem with importing a swedish XML dump I found out  
the error is again 0x62502.
However I don't know this time how to fix it. My code is:

Sub Database_ImportXMLDump(inFile As FolderItem, outFile As FolderItem)

   Dim aDatabase As VDataBase

   aDatabase = new VDataBase( EVStorageType.kDisk )

   aDatabase.DateFormat = EVDateFormat.kMDY // MM/DD/YY
   aDatabase.DateSep ="/"

   aDatabase.LoadDump( inFile, outFile, EVDumpType.kXML ) <- Error  
0x62502 here
   aDatabase.Close()

End Sub


The XML dump uses MMDDYYYY format:

<f n="Transaction_Date">12/20/2007</f>
<f n="Transaction_Date">12/21/2007</f>
<f n="Transaction_Date">12/06/2007</f>
<f n="Transaction_Date">05/27/2008</f>

It looks like the LoadDump function ignores the date settings.

Stan


More information about the Valentina mailing list