I have a print button on my form using the following code to print a single record report:
I know i'm breaking the Normalization rules but for now (i'm repairing a database line by line) i have about 10 tables each with about 10 fields, ALL 10 tables have 3 fields that are the same, and only those 3 fields are being printed for the report for any of the tables. I have 10 reports that all look the same to go with each table's 3 records. How can I use 1 report for this instead of 1 for each table? each time I adjust the page formatting, i have 2 do it for all 10 . Thanks
Code:
Private Sub Command26_Click()
Dim strDocName As String
Dim strLinkCriteria As String
DoCmd.RunCommand acCmdSaveRecord
strDocName = "InventoryTagBusway"
strLinkCriteria = "ID = Forms![BUSWAY]![ID]"
DoCmd.OpenReport strDocName, acViewPreview, , strLinkCriteria
End Sub
Private Sub Form_Current()
I know i'm breaking the Normalization rules but for now (i'm repairing a database line by line) i have about 10 tables each with about 10 fields, ALL 10 tables have 3 fields that are the same, and only those 3 fields are being printed for the report for any of the tables. I have 10 reports that all look the same to go with each table's 3 records. How can I use 1 report for this instead of 1 for each table? each time I adjust the page formatting, i have 2 do it for all 10 . Thanks