Bug 99094 - form.reload in a macro doesn't work
Summary: form.reload in a macro doesn't work
Status: RESOLVED DUPLICATE of bug 93403
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
5.1.1.3 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-05 07:29 UTC by Alberto
Modified: 2016-12-01 10:25 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
base file and firebird DB file (45.28 KB, application/x-7z-compressed)
2016-04-05 07:29 UTC, Alberto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alberto 2016-04-05 07:29:55 UTC
Created attachment 124081 [details]
base file and firebird DB file

Respectable LibreOffice,

I'm trying to implement a DB interface to manage contability.
I've defined a subroutine (aggiornaQueryCercaCommittente) that update the query qa_cliente and update the table inside the form FormRicercaCliente.

The macro works fine: it updates the query, doesn't crash, but when it executes oFormLoc.reload nothing appans.
I've noticed that if I use oFormLoc.unload and oFormLoc.load the macro updates the form (but I don't want to use it because so I reinizialize the form and its controls)

With older version of OpenOffice a similar macro instead worked fine (I'm sorry I can't remember the correct release)

I've found a similar bug 93403.

I've noticed an another odd behaviour (see the attached file connected via obdc to the fdB firebird file)
If I
-launch the form form_nuova_parcella
-push the button "cerca cliente" (it loads the form form_cerca_cliente that is inizialized by the macro FormRicercaCliente->inizializza)
-the form form_cerca_cliente is loaded
-I select an item of the listbox
-if I want digitize pip in the text field
-I push the button "cerca" (it launches the macro qaAggiorna->aggiornaQueryCercaCommittente)
-I select the table
-I push the reload button on the form toolbar nothing happans
-I push the reorder button on the form toolbar and its reload the form

Can you help me?

Thanks for your support.


Alberto
Comment 1 Alberto 2016-04-14 08:42:36 UTC
The problem persist with 5.1.2.2 (64bit) and 5.2.0.0.alpha 0+ (32bit) version
Comment 2 Alberto 2016-05-27 07:02:39 UTC
The problem persist with 5.1.3.2
To update the table now I press the reorder button once or twice
Comment 3 Alex Thurgood 2016-12-01 08:52:42 UTC
@Alberto : please do not report multiple bug problems in a single report, it makes it impossible for QA to triage correctly. Please open a separate report for each issue.
Comment 4 Alex Thurgood 2016-12-01 08:55:31 UTC

*** This bug has been marked as a duplicate of bug 93403 ***
Comment 5 Alex Thurgood 2016-12-01 08:57:44 UTC
@Alberto: the form.reload problem is deemed to be fixed in 5.2.x
Comment 6 Alberto 2016-12-01 10:25:08 UTC
(In reply to Alex Thurgood from comment #3)
> @Alberto : please do not report multiple bug problems in a single report, it
> makes it impossible for QA to triage correctly. Please open a separate
> report for each issue.

Ok, I'm sorry.


Alberto
Comment 7 Alberto 2016-12-01 10:25:36 UTC
(In reply to Alex Thurgood from comment #5)
> @Alberto: the form.reload problem is deemed to be fixed in 5.2.x

Thanks a lot