Loading a dump gives error message

Beatrix Willius bwillius at gmx.de
Mon Apr 18 02:45:07 CDT 2011


When trying to load a dump I get an error message:

Date value "07/13/2007" is invalid. Illegal symbol at "3" position.

At the moment my system with Mac OS 10.6.4 is set to english with german dates. My problem sounds similar to the one from Stan Busk from beginning of 2009 (see below). Unfortunately, I couldn't find an answer.

Using Valentina 4.8 and RB2010r5.


> From: Stan Busk <maxprog at mac.com>
> Date: 15. Januar 2009 10:14:42 MEZ
> To: Valentina Developers <valentina at lists.macserve.net>
> Subject: XML Dump import problem - More info
> Reply-To: Valentina Developers <valentina at lists.macserve.net>
> 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.


Mit freundlichen Grüßen/Regards

Trixi Willius

http://www.mothsoftware.com
Mail Archiver X: archive, clean and search email
http://www.beatrixwillius.de
Fractals, 3d landscapes etc.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macserve.net/pipermail/valentina/attachments/20110418/063204d3/attachment.htm>


More information about the Valentina mailing list