I have 2 forms. In each of them I call a different report.
Inside the reports the datasource is referenced with
Don't get troubled: Formulare is German and means forms!!
As you easily see, they are very similar. I tried to use the same fieldnames in both of the forms.
I have the strong feeling, that ONE report could be omitted.
So I looked for a reference like
It is a shame - I was not successful. Can you help me?
Thank you all
Code:
DoCmd.OpenReport "481rpt_KursteilnehmerQuittungDrucken", _
acPreview
DoCmd.OpenReport "483rpt_TermineQuittungDrucken", _
acPreview
Code:
=[Formulare]![481frm_KursTeilnehmerErfassen]![KLNachname] or =[Formulare]![483frm_TerminsErfassen]![KLNachname]
As you easily see, they are very similar. I tried to use the same fieldnames in both of the forms.
I have the strong feeling, that ONE report could be omitted.
So I looked for a reference like
Code:
=[Formulare]!me.form![KLNachname]
or
=[Formulare]!parent.form![KLNachname]
Thank you all
Comment