I have a desktop application that has a frameset with two frames, left hand frame(LHF) that uses an outline to compose documents etc… and a Right hand frame(RHF)that displays views etc…
Problem :
I select a document in the RHF using the initial default view. Then create a document from my menu in the LHF and the form has “Formulas Inherit Values from selected document” set, a new form is then created with inherited vaues no problem …
I change to another view in RHF and select a document, and use the LHF to create a new doc With inherit the selected docs values , the inheritance stops working ??
If i select the doc in the RHF and use the standard menu option “Create” - MyForm …works ok …
Looks like if i create a new doc from the outline i loses its reference to the selected document in the view in the RHF.
I works fine with R5 Client Users , problem only occurs with R6 users.
Anyone else had this ?? Any ideas greatly appreciated …
Thanks
Subject: Form Inheritance & Frameset problem
We had something similar happen with one of our databases here. Our issue was an outline action in a nav frame checked a field value of a selected document in the view frame and determined what form for compose depending on the field value. This worked perfectly fine in R5 but not in R6. It looks like it’s one of those nice new hidden “features” Lotus is so fond of introducing with upgrades.
We got around it by coding the functionality into an agent and calling the agent from the outline action.
Hope that helps.
Subject: RE: Form Inheritance & Frameset problem
Glad to see its not just me …Its a great new feature…
Can i ask what your agent is like ??
Subject: RE: Form Inheritance & Frameset problem
Not any different than what was coded in the outline action. I just copied the code out of the outline and pasted it into an agent. Then I called the agent from the outline action.
The old outline code was similar to:
@If( Form = “This” ;
@SetField("That", "0") ;
Form = "That" ;
@SetField("This", "1") ;
""
) ;
In R6 the outline could not tell if a document was selected in the view so it couldn’t retrieve the value for Form.