Re: [dabo-users] something wrong with bizobj.moveToPK()

Author: Jacek Kałucki

Posted: 2011-12-24 at 18:09:30

Użytkownik John Fabiani napisał:

> The output from above is:

> 1102 #this is the PK

> 2009-11-20 # a date field (correct)

> 1102 #this is the PK after moveToPK

> 2008-07-25 #this is a old date from a different record. Not correct!

>

> As you can see the dates do not match - but the pk's match???

I didn't noticed such behaviour, but what is your backend database? Is it SQLite?

Are you sure that user doesn't change that pwvoyage row?

Because it looks as such issue to me.

Dabo doesn't requery modified cursors.

What happens after saving it:

self.pwvoyage.save()

self.pwvoyage.moveToPK(KeyValue)

?

--

Regards

Jacek Kałucki

_______________________________________________

Post Messages to: Dabo-users@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Searchable Archives: http://leafe.com/archives/search/dabo-users

This message: http://leafe.com/archives/byMID/4EF65BAA.60303@rz.onet.pl

©2011 Jacek Kałucki