Hello Every Body,
I know that a SubForms is a collection of forms elements as a single OBJECT. SO… How can i use this object by LotusScript or JavaScrip insted ??
Is possible to open a Subform using LotusScrip or JavaScript depend on a button in the same FORM??
THANK YOU !! - CLAUDIA
Subject: RE: Sub Forms - is an object’s From?!
The only way to load a subform dynamically as part of a form, is using a “computed subform” formula. If you need to make the decision using LotusScript, have your LotusScript code assign a field that the subform formula uses.
You cannot change subforms while the form is displayed, but you can close and reopen the document to make it recalculate the subform formula. I’m about to post some code for doing this – search for guirard and close and editdocument.
You can also use DialogBox method to open a subform from LotusScript in its own dialog window.
Subject: RE: Sub Forms - is an object’s From?!
Good Morning,
I ma not sure about, “close and reopen the document to make it recalculate the subform formula” -which formula is it?
About the LotusScript, I haven’t found the language for OpenSubform
Thank you
Subject: Sub Forms - is an object’s From?!
Nope. If you want to conditionally include a subform (meaning have it embedded in the currently-open form), it has to be done by using the Computed Subform mechanism. That said, if you’re looking to allow users to access fields based on a condition, you can open the subform as a dialog box via lotusscript when a user clicks a button.
Subject: RE: Sub Forms - is an object’s From?!
Hi Esther
I couldn’t find the language in lotus scrip for opening this subform, like OpenDocuemnt, but for SubForms
thank you so much if you can tell me
Subject: RE: Sub Forms - is an object’s From?!
If you use NotesUIWorkspace.Dialogbox, and specify the subform name instead of a form name, that will open the subform in its own window.
It’s far from clear exactly what you’re trying to accomplish. Please describe exactly what you want the user to see.
If it’s easier for you to post in French, you may.