Noel
A question inline.
Alex
On Tuesday 01 Apr 2014 21:57:45 Marion & Noel Lodge wrote:
Hi,
In opening my database accounting system, I trigger via the Form: When
loading event, a macro, (Sub Init()), containing the database
initialisation routines.
As the Form loads it displays the first record in the database, including
the account number. To make things easier for the user, the Text modified
event on the account number control, triggers a macro, (Sub AccName()),
that displays the account name.
Do you do this because the table associated with the form doesn't contain the Account Name, so you
have to get the account name from some other table?
Sometimes the system has crashed because it seems that Sub AccName() has
fired before Sub Init() has finished. (Sub AccName() depends on some of
the structures that Sub Init() sets up.)
Is it possible that both Subs are running in parallel or do they always run
in series on a first come first served basis?
If the latter, are there coding techniques that can be used to ensure that
Sub Init() always runs first?
If the former, how can I ensure that Sub AccName() waits until Sub Init()
has finished?
Can someone point me to any articles on this subject?
Thanks,
Noel
--
Noel Lodge
lodgemn@gmail.com
--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
Context
- Re: [libreoffice-users] Do Macros run serially or in parallel? (continued)
Re: [libreoffice-users] Do Macros run serially or in parallel? · Alex McMurchy
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.