Disclaimer: I'm still a newbie here.
The form I have is for editing one long table... well, less than 2000
records, but with long texts inside, and a bunch of internal links in
the text. It's a book, which I first wrote in Fox, in english, and now
couldn't translate it into serbian in Fox under wine, because it thinks
cyrilic script doesn't exist and gives me ??? for whatever I type. It's
just the keyboard and clipboard that act like that, but that's enough to
be a showstopper. So I'm rewriting it in postgres and Dabo. Which worked
fine so far, except it stopped saving.
The point is in the main bizobject being a child of a navigation
bizobject. I have a grid on the left where I pick the record to edit,
and then this child bizobject requeries (proper linkfield and parent
linkfield) and shows the right record's details. And then when I edit
that, it doesn't save. Because the parent record isn't changed, perhaps.
Or because there was no change in the other children (there are also the
img and imglink tables, the img containing the paths to attached images,
and imglink links this current record to it and also may contain the
comment - but there's only about 150 images so far, i.e. many records
have no corresponding records in it).
It worked for a while, before I added the images. The .isChanged() keeps
returning False, no matter what I do, both before and after calling the
two-liner function which updates the tstamp field with now(). I addded
an isChanged() to it to always return True, still doesn't save.
Should I just fake it by writing the tstamp to the parent table? It
basically IS the same table, with just most of the fields gone, just the
pk, name, and category names from two lookups are in it.
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---