G]C:\Users\ShelH\Desktop\Access1[/IMG]
here is the query code
here is the whole SQL query coding
SELECT [Trans Rvsd6292017].emplid, [Trans Rvsd6292017].gender, [Trans Rvsd6292017].dob, [Trans Rvsd6292017].name, [Trans Rvsd6292017].stint, [Trans Rvsd6292017].effdt, [Trans Rvsd6292017].record_type, [Trans Rvsd6292017].hire, [Trans Rvsd6292017].term, [Trans Rvsd6292017].jobchange, [Trans Rvsd6292017].prom, [Trans Rvsd6292017].promtype, [Trans Rvsd6292017].storechange, [Trans Rvsd6292017].ratechange, [Trans Rvsd6292017].demotion, [Trans Rvsd6292017].statuschange, [Trans Rvsd6292017].jobcd, [Trans Rvsd6292017].hrlyrt, [Trans Rvsd6292017].logo, [Trans Rvsd6292017].city, [Trans Rvsd6292017].state, [Trans Rvsd6292017].dm, [Trans Rvsd6292017].vpro, [Trans Rvsd6292017].vp, [Trans Rvsd6292017].class, [Trans Rvsd6292017].code, [Trans Rvsd6292017].reason, [Trans Rvsd6292017].store, [Trans Rvsd6292017].emptype
FROM [Trans Rvsd6292017]
WHERE ((([Trans Rvsd6292017].gender) Like "*" & [Forms]![Open Job History Search Form]![gender] & "*") AND (([Trans Rvsd6292017].effdt) Between [Forms]![Open Job History Search Form]![txtstartdate] And [Forms]![Open Job History Search Form]![txtenddate]) AND (([Trans Rvsd6292017].record_type) Like "*" & [Forms]![Open Job History Search Form]![Record_Type] & "*") AND (([Trans Rvsd6292017].promtype) Like "*" & [Forms]![Open Job History Search Form]![promtype] & "*") AND (([Trans Rvsd6292017].jobcd) Like "*" & [Forms]![Open Job History Search Form]![jobcd] & "*") AND (([Trans Rvsd6292017].logo) Like "*" & [Forms]![Open Job History Search Form]![logo] & "*") AND (([Trans Rvsd6292017].city) Like "*" & [Forms]![Open Job History Search Form]![city] & "*") AND (([Trans Rvsd6292017].state) Like "*" & [Forms]![Open Job History Search Form]![state] & "*") AND (([Trans Rvsd6292017].dm) Like "*" & [Forms]![Open Job History Search Form]![dm] & "*") AND (([Trans Rvsd6292017].vpro) Like "*" & [Forms]![Open Job History Search Form]![vpro] & "*") AND (([Forms]![Open Job History Search Form]![store]) Is Null)) OR ((([Trans Rvsd6292017].store)=[Forms]![Open Job History Search Form]![store]));
Need it to pull all results based on that query SQL but it is stopping with only two parameters leaving all the others not pulling.
here is the query code
here is the whole SQL query coding
SELECT [Trans Rvsd6292017].emplid, [Trans Rvsd6292017].gender, [Trans Rvsd6292017].dob, [Trans Rvsd6292017].name, [Trans Rvsd6292017].stint, [Trans Rvsd6292017].effdt, [Trans Rvsd6292017].record_type, [Trans Rvsd6292017].hire, [Trans Rvsd6292017].term, [Trans Rvsd6292017].jobchange, [Trans Rvsd6292017].prom, [Trans Rvsd6292017].promtype, [Trans Rvsd6292017].storechange, [Trans Rvsd6292017].ratechange, [Trans Rvsd6292017].demotion, [Trans Rvsd6292017].statuschange, [Trans Rvsd6292017].jobcd, [Trans Rvsd6292017].hrlyrt, [Trans Rvsd6292017].logo, [Trans Rvsd6292017].city, [Trans Rvsd6292017].state, [Trans Rvsd6292017].dm, [Trans Rvsd6292017].vpro, [Trans Rvsd6292017].vp, [Trans Rvsd6292017].class, [Trans Rvsd6292017].code, [Trans Rvsd6292017].reason, [Trans Rvsd6292017].store, [Trans Rvsd6292017].emptype
FROM [Trans Rvsd6292017]
WHERE ((([Trans Rvsd6292017].gender) Like "*" & [Forms]![Open Job History Search Form]![gender] & "*") AND (([Trans Rvsd6292017].effdt) Between [Forms]![Open Job History Search Form]![txtstartdate] And [Forms]![Open Job History Search Form]![txtenddate]) AND (([Trans Rvsd6292017].record_type) Like "*" & [Forms]![Open Job History Search Form]![Record_Type] & "*") AND (([Trans Rvsd6292017].promtype) Like "*" & [Forms]![Open Job History Search Form]![promtype] & "*") AND (([Trans Rvsd6292017].jobcd) Like "*" & [Forms]![Open Job History Search Form]![jobcd] & "*") AND (([Trans Rvsd6292017].logo) Like "*" & [Forms]![Open Job History Search Form]![logo] & "*") AND (([Trans Rvsd6292017].city) Like "*" & [Forms]![Open Job History Search Form]![city] & "*") AND (([Trans Rvsd6292017].state) Like "*" & [Forms]![Open Job History Search Form]![state] & "*") AND (([Trans Rvsd6292017].dm) Like "*" & [Forms]![Open Job History Search Form]![dm] & "*") AND (([Trans Rvsd6292017].vpro) Like "*" & [Forms]![Open Job History Search Form]![vpro] & "*") AND (([Forms]![Open Job History Search Form]![store]) Is Null)) OR ((([Trans Rvsd6292017].store)=[Forms]![Open Job History Search Form]![store]));
Need it to pull all results based on that query SQL but it is stopping with only two parameters leaving all the others not pulling.