Hi,
when loading a base form from a macro and assigning it to a public var I
hoped the form would stay open. It does not.
<snip>
public aForm as object
sub testLoadDatabaseDocs
... all the gory details of loading an odb file
and getting the forms container ...
aForm = loadDatabaseDocument(forms, oCon, "Artikel", FALSE)
end sub
</snip>
The function "loadDatabaseDocument" works fine, the named form pops up.
But although it is stored in a public variable, which the help states as
living until the OOo sessions end, the form disappears at once.
Why is the reference to the form disposed and not held in the variable?
TIA,
Marc
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]