Goncalo,
In Xpath, you can test if an association is populated like this: ModuleName.AssociationName/AssociationObject
So to see if an association is empty, the syntax is: not(ModuleName.AssociationName/AssociationObject)
An actual example from one of my apps: not(Schedule.Appointments_Contact/Schedule.Appointment)
This example retrieves customer contact records for which an appointment has not been created.
Hope that helps,
Mike
Hi Mike,
Many thanks for your suggestion. It works, but not the way I need it to. I should have explained my situation better.
Hope this makes sense
Goncalo