dear friendsi’m new in lotus notes
i will explain my trouble again.
i have a frameset named “myframeset” and the title “myframe”, that divide into 2 frames.
-the first frame:
name:
type: namedelement in the right tab : form
value:Copy Of frm menu
-the second frame:
name: frContent
type: namedelement in the right tab : page
value:pgWelcome
default target for links in a frame : frContent
in form ----Copy Of frm menu-----
i create a section name : Report
and in the body of section, i type “currentmonth” and “lastmonth”.
after that in currentmonth, i used an action hotspot
sub click
Dim workspace As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Dim session As New NotesSession
Dim db As NotesDatabase
Dim doc As NotesDocument
Set db = session.CurrentDatabase
Set doc = db.CreateDocument
doc.form = “frReportSpecificmonth&CurrentMonth”
doc.month = format(Month(now))
Call workspace.SetTargetFrame(“frContent”)
workspace.EditDocument True, doc, False
end sub
in last month, i use an action hotspot as same as above, the difference only
doc.month = format(Month(now)-1)
in form --frReportSpecificmonth&CurrentMonth—
i set the form property (in the third tab option, Launch tab: in the bottom of tab, i set frameset “myframeset”. and frame “frContent”).
in that form there is field named “month”
my trouble is when i click “currentmonth”, in “frContent”, there doesn’t appear “frReportSpecificmonth&CurrentMonth” form
thanx for answering my question