D
deb
I am using Arvin Meyer's email code. Excellent work, Arvin!!!
the below code displays a list box of all reports...
Set db = CurrentDb()
Set contr = db.Containers("Reports")
strRptList = ""
For i = 0 To contr.Documents.Count - 1
strRptName = contr.Documents(i).name
If strRptList <> "" Then strRptList = strRptList & "; "
Length = Len(strRptName)
strRptList = strRptList & strRptName
Next i
Me!lstRpt.RowSource = strRptList
I Only want certail reports to be listed.
Is it possible to limit to reports that start with rpt
or better yet, is it possible to only display reports in a table. (make a
table with thr report names of the ones I want to display in the email list?
Thanks
the below code displays a list box of all reports...
Set db = CurrentDb()
Set contr = db.Containers("Reports")
strRptList = ""
For i = 0 To contr.Documents.Count - 1
strRptName = contr.Documents(i).name
If strRptList <> "" Then strRptList = strRptList & "; "
Length = Len(strRptName)
strRptList = strRptList & strRptName
Next i
Me!lstRpt.RowSource = strRptList
I Only want certail reports to be listed.
Is it possible to limit to reports that start with rpt
or better yet, is it possible to only display reports in a table. (make a
table with thr report names of the ones I want to display in the email list?
Thanks