digitalshepard
Registered User.
- Local time
- Today, 14:43
- Joined
- Jul 20, 2011
- Messages
- 32
I'm sure this is a simple issue, but I don't know what terms to search for.
I want to display all fields and records from tbl_Document that meet the criteria specified from qry_Documents. I'm trying to do this using a WHERE statement, but every time I run the query I'm asked to provide a value for SortList. I'm looking at similar code and not sure what the issue is.
I want to display all fields and records from tbl_Document that meet the criteria specified from qry_Documents. I'm trying to do this using a WHERE statement, but every time I run the query I'm asked to provide a value for SortList. I'm looking at similar code and not sure what the issue is.
Code:
SELECT
(SELECT Doc_ID FROM qry_Documents) as SortList,*
FROM tbl_Document
WHERE (SortList)=(Doc_ID);