J
John
I have simple database based on 3 tables. Relationship is 'one to many'
between table 1 and 2, also between 2 and 3 table'one to many'.
I have made form where I enter data in all 3 tables. Form has 2 subform
based on relationships.
I want to make report to print data which is shown on form. I want to print
only data from form, not whole records from tables.
I was trying with event on command button "Print", which is on main
DoCmd.OpenReport "MyReport", acviewPreview,[RecordID]=Forms!MyForm!MyField,
but I don't know how to make it work, because on form are 2 subforms, so I
have to specify what record is on main form and what are on subforms.
Query also doesn't work.
Does anyone knows how to do this?
Your help is greatly appreciated.
between table 1 and 2, also between 2 and 3 table'one to many'.
I have made form where I enter data in all 3 tables. Form has 2 subform
based on relationships.
I want to make report to print data which is shown on form. I want to print
only data from form, not whole records from tables.
I was trying with event on command button "Print", which is on main
DoCmd.OpenReport "MyReport", acviewPreview,[RecordID]=Forms!MyForm!MyField,
but I don't know how to make it work, because on form are 2 subforms, so I
have to specify what record is on main form and what are on subforms.
Query also doesn't work.
Does anyone knows how to do this?
Your help is greatly appreciated.