Hi
Would it be possible to build a report on-the-fly, or use a 'blank' report with a series of text boxes that could be filled in using the Detail On Format event? I tried this, and it seemed to work.
[tt]'Module:
Public MyArray(0, 1)
Sub ArrayReport()
MyArray(0, 0) = "Hello"
MyArray(0, 1) = "World"
DoCmd.OpenReport "rptArray", acViewPreview
End Sub
'=================
'Report:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Me.Text0 = MyArray(0, 0)
Me.Text2 = MyArray(0, 1)
End Sub[/tt]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.