To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=40711





------- Additional comments from [EMAIL PROTECTED] Tue Feb  8 19:27:16 -0800 
2005 -------
I am currently writing macros that manipulate the entire database as a whole.
For example, when you run the macro, it might create a new database table in the
document object. I can artificially store these in a form, at least I think that
I can, but the macros will have nothing to do with the form that contain them.

While creating these macros, I intended to store them in the base document
itself, and I was surprised that I could not. I will probably store my macros in
a Write document and distribute them from there.

The real reason that I had expected ThisComponent to refer to the Base document,
is because I had simply assumed that it would be treated like all of the other
document types. I have no particular problem that I can not work around so I
will offer no strong objection. I will simply document the behavior and work
around it. Of course, if I can ever figure out how to open a form, it will
undoubtedly not be contained in the form. One might argue, however, that it
would be really silly to try and set ThisComponent to point to the Base document
if you can also have a Form, which will set ThisComponent.

I know that when I have a Base document open, I can enumerate the components to
see if it is loaded. If I change the Base document, then I must find it and tell
it to save itself. For example, I wrote a macro that will first search the
components for a particular document and if it is not loaded, then it will load
it. After the document is loaded, I will modify the table structure and then I
will save the document. Of course, I have to have a reference to the document
before I can save it... At least I think that I must. It is not something that I
can not work around, however. I suspect that people who know a lot more about
this stuff than I do made these initial decisions.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to