Ed Keith | 13 Mar 04:48
Favicon

Re: corrupted data


--- Jean-Claude Wippler <jcw <at> equi4.com> wrote:

> 
> On 12 Mar 2008, at 21:28, EdK wrote:
> > I'm trying to use metakit with mingw C++ under
> windows XP, but my data
> > seems to be getting curupted. this is my code:
> [...]
> >            + result_field_name + " :D]").c_str());
> 
> The space before the colon is the problem, I
> suspect.
> (And yes, that's an ugly weakness of MK, I agree
> ...)
> 

I removed the space, and I'm still having the same
problem.

To give more details; I run the program twice, the
first time I enter 
ID = "ab" test = 1 result = 3.1415
the second time I enter
ID = "xy"  test = 2 result = 2.345

I look at the database in kviewer and see two rows
"ab", 1, 3.1415
"xy", 3.1415, 2.345

Not only is this not the data I enterd, but, I do not
understand how 3.1415 can be stored in a property that
is declared to be long.

  -EdK

Ed Keith
e_d_k <at> yahoo.com

Blog: edkeith.blogspot.com

      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "metakit" group.
To post to this group, send email to metakit <at> googlegroups.com
To unsubscribe from this group, send email to metakit-unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/metakit?hl=en
-~----------~----~----~----~------~----~------~--~---


Gmane