Sorry abou that.
The datatype of the document year field is number.
Sample values: 2003, 1902
This is the query:
SELECT documents.agreement_num, documents.program, documents.protocol,
documents.protocol_chair, documents.date_to_company_version,
documents.date_to_niaid_version,
documents.date_executed, documents.status, documents.companycode,
documents.expiration_date, documents.doc_type1, documents.doc_yr,
Company.CompanyName, documents.doc_number
From Company INNER JOIN documents ON Company.companycode =
documents.companycode
Where ((company.CompanyName)=[forms]![report form]![text0]) AND
((documents.doc_yr)=[forms]![report form]![text22])
UNION
SELECT documents.agreement_num, documents.program, documents.protocol,
documents.protocol_chair, documents.date_to_company_version,
documents.date_to_niaid_version,
documents.date_executed, documents.status, documents.companycode,
documents.expiration_date, documents.doc_type1, documents.doc_yr,
Company.CompanyName, documents.doc_number
From Company INNER JOIN documents ON Company.companycode =
documents.companycode
Where ((documents.program)=[forms]![report form]![text4])
UNION
SELECT documents.agreement_num, documents.program, documents.protocol,
documents.protocol_chair, documents.date_to_company_version,
documents.date_to_niaid_version, documents.date_executed, documents.status,
documents.companycode, documents.expiration_date, documents.doc_type1,
documents.doc_yr, Company.CompanyName, documents.doc_number
From Company INNER JOIN documents ON Company.companycode =
documents.companycode
Where ((documents.date_to_company_version)=[forms]![report form]![text12])
UNION
SELECT documents.agreement_num, documents.program, documents.protocol,
documents.protocol_chair, documents.date_to_company_version,
documents.date_to_niaid_version, documents.date_executed, documents.status,
documents.companycode, documents.expiration_date, documents.doc_type1,
documents.doc_yr, Company.CompanyName, documents.doc_number
From Company INNER JOIN documents ON Company.companycode =
documents.companycode
Where ((documents.protocol_chair)=[forms]![report form]![text8])
UNION
SELECT documents.agreement_num, documents.program, documents.protocol,
documents.protocol_chair, documents.date_to_company_version,
documents.date_to_niaid_version, documents.date_executed, documents.status,
documents.companycode, documents.expiration_date, documents.doc_type1,
documents.doc_yr, Company.CompanyName, documents.doc_number
From Company INNER JOIN documents ON Company.companycode =
documents.companycode
Where ((documents.date_executed)=[forms]![report form]![text14])
Union
Select documents.agreement_num, documents.program, documents.protocol,
documents.protocol_chair, documents.date_to_company_version,
documents.date_to_niaid_version, documents.date_executed, documents.status,
documents.companycode, documents.expiration_date, documents.doc_type1,
documents.doc_yr, Company.CompanyName, documents.doc_number
FROM Company INNER JOIN documents ON Company.companycode =
documents.companycode
WHERE ((documents.date_to_niaid_version)=[forms]![report form]![text10])
UNION
SELECT documents.agreement_num, documents.program, documents.protocol,
documents.protocol_chair, documents.date_to_company_version,
documents.date_to_niaid_version, documents.date_executed, documents.status,
documents.companycode, documents.expiration_date, documents.doc_type1,
documents.doc_yr, Company.CompanyName, documents.doc_number
FROM Company INNER JOIN documents ON Company.companycode =
documents.companycode
WHERE ((documents.companycode)=[forms]![report form]![text32])
UNION
SELECT documents.agreement_num, documents.program, documents.protocol,
documents.protocol_chair, documents.date_to_company_version,
documents.date_to_niaid_version, documents.date_executed, documents.status,
documents.companycode, documents.expiration_date, documents.doc_type1,
documents.doc_yr, Company.CompanyName, documents.doc_number
FROM Company INNER JOIN documents ON Company.companycode =
documents.companycode
WHERE ((documents.status)=[forms]![report form]![text17])
UNION
SELECT documents.agreement_num, documents.program, documents.protocol,
documents.protocol_chair, documents.date_to_company_version,
documents.date_to_niaid_version, documents.date_executed, documents.status,
documents.companycode, documents.expiration_date, documents.doc_type1,
documents.doc_yr, Company.CompanyName, documents.doc_number
FROM Company INNER JOIN documents ON Company.companycode =
documents.companycode
WHERE ((documents.doc_type1)=[forms]![report form]![text20])
UNION
SELECT documents.agreement_num, documents.program, documents.protocol,
documents.protocol_chair, documents.date_to_company_version,
documents.date_to_niaid_version, documents.date_executed, documents.status,
documents.companycode, documents.expiration_date, documents.doc_type1,
documents.doc_yr, Company.CompanyName, documents.doc_number
FROM Company INNER JOIN documents ON Company.companycode =
documents.companycode
WHERE ((documents.expiration_date)=[forms]![report form]![text18])
UNION
SELECT documents.agreement_num, documents.program, documents.protocol,
documents.protocol_chair, documents.date_to_company_version,
documents.date_to_niaid_version, documents.date_executed, documents.status,
documents.companycode, documents.expiration_date, documents.doc_type1,
documents.doc_yr, Company.CompanyName, documents.doc_number
FROM Company INNER JOIN documents ON Company.companycode =
documents.companycode
WHERE ((documents.doc_number)=[forms]![report form]![text23])
UNION
SELECT documents.agreement_num, documents.program, documents.protocol,
documents.protocol_chair, documents.date_to_company_version,
documents.date_to_niaid_version,
documents.date_executed, documents.status, documents.companycode,
documents.expiration_date, documents.doc_type1, documents.doc_yr,
Company.CompanyName, documents.doc_number
From Company INNER JOIN documents ON Company.companycode =
documents.companycode
Where ((company.companyname)=[forms]![report form]![text0])
UNION SELECT documents.agreement_num, documents.program,
documents.protocol, documents.protocol_chair,
documents.date_to_company_version, documents.date_to_niaid_version,
documents.date_executed, documents.status, documents.companycode,
documents.expiration_date, documents.doc_type1, documents.doc_yr,
Company.CompanyName, documents.doc_number
From Company INNER JOIN documents ON Company.companycode =
documents.companycode
Where ((documents.doc_yr)=[forms]![report form]![text22]);