> The first list picks the second. The second list chooses the record to be
> displayed on the form. It can be done with saved queries or SQL, or a
[quoted text clipped - 50 lines]
> >> > Thanks!
> >> > Russell.
Your statement calls for tenants from all properties because you haven't
limited the property to a single property. Look at my where clauses and
notice how I use them to limit the value to a specific one from the form:
SELECT Products.*
FROM Products
WHERE (((Products.ProductID)=[Forms]![frmProducts]![lstProducts]));
lstProducts is a simple list box having a selected bound column value of a
specific ProductID
If you wanted it to prompt for a value instead of using one from the form,
you'd use something like:
SELECT *
FROM Products
WHERE Products.ProductID=[Which Product?];

Signature
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com
> Arvin,
>
[quoted text clipped - 68 lines]
>> >> > Thanks!
>> >> > Russell.
russell@pascoe.org - 06 May 2008 20:41 GMT
> Your statement calls for tenants from all properties because you haven't
> limited the property to a single property. Look at my where clauses and
[quoted text clipped - 102 lines]
>
> - Show quoted text -
Arvin,
Thank you for your help - this did work for me, once I understood
where I had gone wrong, from reading your replies.
I would have replied sooner, but all of my PCs have now decided they
can't open windows for these forums...another problem to deal with.
Thank you.
Russell.