https://bugs.freedesktop.org/show_bug.cgi?id=87974

--- Comment #8 from Bill Gradwohl <[email protected]> ---
I've simplified the testing code to focus specifically on the problem.

Place the following code at Standard/Module1 and follow the instructions I
previously supplied for my test database to clearly show that Sub Main is not
being executed or that the Globals are not being created. I don't know which is
the case. I'm using an event trigger to execute the PriorToReset subroutine and
that sub should have access to the Globals that should have been initialized
via the Sub Main.

Option Explicit

Global defaultDate           as string
Global defaultVendor         as string

Sub Main
defaultDate = Date
defaultVendor = "Eldons"
End Sub

Sub PriorToReset(event)
MsgBox ("defaultDate = " + defaultDate)
MsgBox ("defaultVendor = " + defaultVendor)
End Sub

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to