Got asked look at a members database where they print statements for their members.
First off this DB is huge, with over 40 tables, and many queries and reports. In the main table there is a field for expiration date. I need to bring that field into this report, but have it the expiration date match for the member's ID number. The member's ID number is listed on the report, but the data being shown in this report is coming from a multitude of different tables. None of those tables have this expiration date in them. Just the main table.
I've done some light programming for in-house stuff, and the things I have tried are not working.
So what syntax could I put in the report to have Expiration Date's value be checked with the member number from that main table.
Thanks.
One note: The report is generated by a command button. It's line code is
DoCmd.OpenReport "YearStatements" , 2, , "TypeOfMember = Forms![Members]!ADType"
Can I add another variable set to this to include the one that is setting TypeofMember?