Hi Gabriel
Thank you very much, ive got it:
If i have an collection i dont update fields from collection, this is updated in real time if the databse to collection is changed/altered. I must only refresh the collection in forms to use (read values back)

As Example in GUI Mode

Then the collection is updates in real time.

But the forms were i want use the values get the updated collection value, so i must only use the update command and the collection to use it in the form.
So i use this function i called it debug_refresh

And run this function before form load.

and now i can build an condition.
The field is default hidden.
An only the debug collection is true it will be set to standard

And now if set the settings to true the field is visible and set to false is hidden.
of course you must close the form and open it again, but then it works.
if the form open its not calls the funtion again, only u use an refresh button or so

In gui it looks so as example, i remove the button, i insert it only for demo

its false at the moment so no customerid is shown

now we change from false

to true and save it

Press the refresh button or close and open form

then the collection is updated and the condition works

Thank you very much!
Best regards Bonkersdeluxe