I've got a form "properties" and at the bottom I've got a listview gadget that I'd like to pull data from a "worklogs" table where the property ID matches a field in the worklogs table.
I've written the query (below) but I can't seem to find out how to make it so as I'm browsing through the properties the listview automatically shows any work logs if any are present.
If this is a simple thing a pointer in the right direction would be appreciated otherwise a link to a good tutorial would be appreciated.
Code:
SELECT [worklog].[id],[worklog].[address],[worklog].[postcode],[worklog].[dateassigned],[worklog].[workcompleted],[worklog].[paymentreceived],[worklog].[added] FROM worklog WHERE [properties].[id]=[worklog].[_propertyid] ORDER BY [address];