Question Filter data and show it in a report (1 Viewer)

shamal

Registered User.
Local time
Yesterday, 16:34
Joined
Sep 28, 2013
Messages
77
Hello Masters...

When the avarage is written, universities that accept this avarage appear..
How can you report only that?
thank you....
 

Attachments

  • Universities.mdb
    984 KB · Views: 88

Ranman256

Well-known member
Local time
Yesterday, 19:34
Joined
Apr 9, 2015
Messages
4,339
if you want to report on 1 university, youd open the report:

using ID numbers:
docmd.OpenReport "rpt",acViewPreview ,,"[id]=" & me.ID

for strings:
docmd.OpenReport "rpt",acViewPreview ,,"[University]='" & me.University & "'"
 

shamal

Registered User.
Local time
Yesterday, 16:34
Joined
Sep 28, 2013
Messages
77
Ranman256
Can you apply the code to the attached example?
Because it did not work with me
 

shamal

Registered User.
Local time
Yesterday, 16:34
Joined
Sep 28, 2013
Messages
77
Can you apply the code to the attached example?
Because it did not work with me
 

Users who are viewing this thread

Top Bottom