R
Raul Sousa
I have this code:
DoCmd.OpenReport "Report", acViewPreview, "", "DocID = """ & Me.DocID &
"""", acNormal
My problem is with the where condition ("DocID = """ & Me.DocID & """").
This is opening the report on the first record, always.
It should be opening the report on the current record instead.
I can’t see what is wrong.
DoCmd.OpenReport "Report", acViewPreview, "", "DocID = """ & Me.DocID &
"""", acNormal
My problem is with the where condition ("DocID = """ & Me.DocID & """").
This is opening the report on the first record, always.
It should be opening the report on the current record instead.
I can’t see what is wrong.