Subject Re: [IBO] TIB_Query - weird problem
Author Lucas Franzen
Franky Brandt schrieb:

> Ok, i added the fh_uniek field to the query, took out for update but the
> problem still remains.
> I found out that the query goes into edit mode after a post which is
> weird.
> If i do a cancel after it went into edit mode the field values are back.
> But there's no edit being performed in the code so i don't know what's
> causing this.

I'm quite sure, you're assigning a value to a field out of that query in
some event that's after the post which will cause the Query to go back
to edit mode.
Set a new query on your form, enter (or copy) the SQL, CalculatedFields,
KeyLinks (but DON'T COPY THE QUERY ITSELF) an try again.
I'm quite sure you're problems are gone by then.


Show us your OnCalculate event, maybe that's the culprit.

Luc.