Creating tables for a report

nblade

New member
Local time
Today, 04:39
Joined
Dec 3, 2006
Messages
6
Hi again,

Does Access have a built in method for creating tables in a report? The only option I see is to use the Line tool and manually draw a table.

Thanks
 
You could use a Tabular sub report for your table.
 
Or maybe create a subform which is displayed in datasheet mode based on the table/query which hold the values you want? Datasheet mode with a couple of head(er)s above it, or if that isn't possible use some labels, should represent a table quite nicely.
 
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
Dim CtlDetail As Control
Dim intLineMargin As Integer


intLineMargin = 60


For Each CtlDetail In Me.Section(acDetail).Controls
With CtlDetail

Me.Line ((.left + .Width + intLineMargin), 0)-(.left + .Width + _
intLineMargin, Me.Height)

End With
Next
With Me
Me.Line (0, 0)-Step(.Width, .Height), 0, B
End With
 

Users who are viewing this thread

Back
Top Bottom