Databinding geht verloren
Markus Esfeld
Hallo,ich habe folgendes Problem:
Ich habe per Optimizer-Regel in C#-Code einen neuen Tab auf einem Marketing Document erstellt und dort mehrere Controls plaziert.
Die Controls sind an UDF Felder gebunden. Dies funktioniert soweit wunderbar.
Nun habe ich eine SQL-User-Query erstellt und diese ausgeführt.
Wenn ich aus dem Ergebnis dieser Query in ein Marketing Document springen möchte (über den gelben Pfeil), sind der Tab und die Controls vorhanden, aber mit dem Databinding scheint etwas nicht zu stimmen, da die Felder entweder eine 0 oder nichts enthalten, obwohl sie einen Wert enthalten sollten.
Sobald ich das Dokument "normal" über das Menü aufmache, wird der Wert wieder angezeigt.
Das Fatale an der Sache ist nur, dass wenn man aus der Query in das Dokument springt, etwas ändert und dann speichert, die 0 bzw. nichts gespeichert wird.
Somit gehen vorhandene Daten verloren.
Kennt jemand eine Lösung für das Problem?
Mit freundlichen Grüßen,
Markus Esfeld
---------------------------
Hello,
I’ve got the following problem:
With an Optimizer rule in C# I’ve created a new Tab on a Marketing Document and set several Controls on it.
The Controls are bound to UDF fields. This operates as far as wonderful.
Now I’ve created a SQL-User-Query and performed it.
If I will jump out of this query into a Marketing Document (with this yellow error), the tab and the controls exists, but the Databinding seems to have a problem, because the fields/controls contain a 0 or nothing, although they must have a value.
If I open the Document on the normal way in the menu, the value appears correctly.
The disastrous thing of this situation is that if you spring out of a query into the document and save it, the 0 or nothing will be saved.
So data, that’s exists before, will be lost.
Does anyone know a solution for that problem?
Best regards,
Markus Esfeld
0
Please sign in to leave a comment.
Comments
0 comments