dear friends,in lotus designer.
i have a frameset that contains 2 frame named frameA and frameB.
in frameA, type: namedElement, form, value:formA.
in frameB, type: namedElement, form, value:formB.
in formA, i have a table with (row 2 and coloum 1). in row 1, i typed “current month”, and then i use action hotspot to open formB in frameB.
i use action hotspot coding like this:
Sub Click(Source As Button)
Dim session As New NotesSession
Dim ui As New NotesUIWorkspace
Dim db As NotesDatabase
Dim doc As NotesDocument
Set db = session.CurrentDatabase
Set doc = db.CreateDocument
doc.form = “frmData”
doc.selector = Format(Month(Now))
+"/"+FormatYear(Now))
ui.CurrentDocument.Close
ui.EditDocument True, doc, False
End Sub
in row2, i have a section → standard named “Detail”. in section, i have a table with (row 12 coloum 1), i type “January, February, March, June, July, August, September, October, November, December”. i make the section up(it appear in notes only “current month” and “Detail”). if i click “Detail”, it appear “January, February, March, June, July, August, September, October, November, December”. in January, i use hotspot coding like:
Sub Click(Source As Button)
Dim session As New NotesSession
Dim ui As New NotesUIWorkspace
Dim db As NotesDatabase
Dim doc As NotesDocument
Set db = session.CurrentDatabase
Set doc = db.CreateDocument
doc.form = “frmData”
doc.selector = “1” +“/”+FormatYear(Now))
ui.CurrentDocument.Close
ui.EditDocument True, doc, False
End Sub
in frame A the standard format is:
ex:
current month
Detail
in formB, there is a field named (“selector”) type hidden and an embedded view with show single category (selector).it show selector in view named “(viewembedded)”.
my trouble is : in lotus notes, every time i come into the section like “January”(i click).
ex:
current month
Detail
January
February
March
April
May
June
July
August
September
October
November
December
in frameA, appear frame contain "current month"and a section–>standard “Detail”. after i click
ex:
current month
Detail
Although, i have tried to come into the month January.
if i don’t use ui.CurrentDocument.Close
it always create a new window
is there any solution to make appear like
current month
Detail
January
February
March
April
May
June
July
August
September
October
November
December
every time i click January, February, March, April, May, June, July, August, September, October, November, December
thanx for answering my question