I'd like to make the record source of a subform be dependant on the current record of the main form, any advice? Something like:
SELECT * FROM tblChild WHERE tblChild.parentFK = ParentForm.CurrentRecord.PrimaryKey
but i don't know the correct syntax, or even if form objects can be referred to in queries!
SELECT * FROM tblChild WHERE tblChild.parentFK = ParentForm.CurrentRecord.PrimaryKey
but i don't know the correct syntax, or even if form objects can be referred to in queries!