[Libreoffice-bugs] [Bug 146643] reload method applied to a subform with subforms fails to reload all when called from a macro

2022-01-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146643

Walter Werner  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |NOTABUG

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146643] reload method applied to a subform with subforms fails to reload all when called from a macro

2022-01-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146643

Robert Großkopf  changed:

   What|Removed |Added

 CC||rob...@familiegrosskopf.de

--- Comment #2 from Robert Großkopf  ---
Look at table "selector". Value for "SearchString" will be set to '0' the whole
time.

oAusgabeAuswahl.Commit
will say to the form: "I have a new value."
oAusgabe.updateRow
will write the form to the existing row. Won't work on new rows, but will woirk
for your example.

oAusgabeAuswahl.Parent.updateRow() 
is just the same, only seen from the position of the listbox up to the form,
which contains the listbox.

If this will solve your problem please set this bug to RESOLVED and NOTABUG.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 146643] reload method applied to a subform with subforms fails to reload all when called from a macro

2022-01-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=146643

--- Comment #1 from Stang  ---
The problem is in your macro. You commit the data but do not update the record.
After this line:

oAusgabeAuswahl.Commit

add this line:

oAusgabeAuswahl.Parent.updateRow()

-- 
You are receiving this mail because:
You are the assignee for the bug.