I have two tables master & history which have a relationship.
I need to do a find for all records in master where the date_left columns is NOT NULL.
Can't seem to get the syntax correct, both for the not null and the related column.
This is the function attached to the master form that doesnt work
function activeOnly()
controller.find()
date_left = '^' <- how do I specify 'where history.date_left' is NOT NULL'
controller.search(true,false)
}