> 2) I expect it to be doing an insert and it is doing an update on a
> specific non-chosen record.
> This is a SQLite database.
> Note that I don't have any code in the bizobj telling it what to do
> onSave or onNew.
>                                     
> Does this make sense?
> Sim
>
>   
Well I figured out half of my problem. The logging still doesn't show
anything but a select to customers, even though there is definitely
other db activity going on.

Opening the form in a new record was a problem because, I called requery
in my calling form and then I called requery in the afterInitAll
function. So after I called new It was calling requery again, which
negated my new.

I moved the requery into the afterInit function and removed it from the
calling form code and now it works like a charm.

The reason it was in the afterInitAll function is because I saw that
posted on some old messages on the mailing list. Is there any reason why
the requery should be in the afterInitAll instead of the afterInit?

Sim
_______________________________________________
Post Messages to: [email protected]
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/[email protected]

Reply via email to