Many to One Relationship Search
Posted: Mon Mar 06, 2006 1:52 pm
I have a many to one relationship between two of my tables. Specifically, I have one person that can have multiple letters associated with them. I have a script that sends that person a letter as long as they meet the following: they have not been sent this particular letter before. As I loop through my people table I want to run this check. How do I handle this? To I do an if statement like:
I have been unable to get this to work as it only looks at the first Letter and not any subsequential ones. Thanks for the help.
- Code: Select all
if(not(Letters::ID = Contact Info::ID and Letters::Description = "Initial Letter"))
I have been unable to get this to work as it only looks at the first Letter and not any subsequential ones. Thanks for the help.