Recordsource of main form? ENTRY Query using ENTRY table data
What is the SQL of the query using the criterion?
SELECT ENTRY.ENTRYID, ENTRY.IMPORT, ENTRY.DATETKN, ENTRY.TIMETKN,
ENTRY.TYPE, ENTRY.LOCATION, ENTRY.BOOTH, ENTRY.SITE, ENTRY.CONDITION,
ENTRY.PHOTO, ENTRY.PERMISSION, ENTRY.POLICE, ENTRY.POLOFF, ENTRY.POLRPT,
ENTRY.POLCASE, ENTRY.NAME1, ENTRY.DOB1, ENTRY.BUSNAM1, ENTRY.ADD1,
ENTRY.APT1, ENTRY.CITY1, ENTRY.STATE1, ENTRY.ZIP1, ENTRY.DLNUM1, ENTRY.DLST1,
ENTRY.DAYPHN1, ENTRY.OTHPHN1, ENTRY.NAME2, ENTRY.DOB2, ENTRY.BUSNAM2,
ENTRY.ADD2, ENTRY.APT2, ENTRY.CITY2, ENTRY.STATE2, ENTRY.ZIP2, ENTRY.DLNUM2,
ENTRY.DLST2, ENTRY.DAYPHN2, ENTRY.OTHPHN2, ENTRY.INCIDESCP, ENTRY.INJRDESCP,
ENTRY.MEDASST, ENTRY.MEDASSTBY, ENTRY.XPORT, ENTRY.XPPORTWHR, ENTRY.VEHOWN1,
ENTRY.VEHOPR1, ENTRY.VEHVIN1, ENTRY.VEHPLT1, ENTRY.VEHINS1, ENTRY.VEHPOL1,
ENTRY.VEHOWN2, ENTRY.VEHOPR2, ENTRY.VEHVIN2, ENTRY.VEHPLT2, ENTRY.VEHINS2,
ENTRY.VEHPOL2, ENTRY.THEFT1, ENTRY.VALUE1, ENTRY.THEFT2, ENTRY.VALUE2,
ENTRY.THEFT3, ENTRY.VALUE3, ENTRY.THEFT4, ENTRY.VALUE4, ENTRY.THEFT5,
ENTRY.VALUE5, ENTRY.THEFT6, ENTRY.VALUE6, ENTRY.THEFT7, ENTRY.VALUE7,
ENTRY.THEFT8, ENTRY.VALUE8, ENTRY.WITNAM1, ENTRY.RELAT1, ENTRY.ADD3,
ENTRY.APT3, ENTRY.CITY3, ENTRY.STATE3, ENTRY.ZIP3, ENTRY.DAYPHN3,
ENTRY.OTHPHN3, ENTRY.WITNAM2, ENTRY.RELAT2, ENTRY.ADD4, ENTRY.APT4,
ENTRY.CITY4, ENTRY.STATE4, ENTRY.ZIP4, ENTRY.DAYPHN4, ENTRY.OTHPHN4,
ENTRY.ADDITIONAL, ENTRY.RPTWRTR, ENTRY.RPTDATE, ENTRY.[INPUT BY]
FROM ENTRY
WHERE (((ENTRY.SITE) Like "*" & [ENTER SITE] & "*"))
ORDER BY ENTRY.SITE;
What actual code do you use? Code?