I have a table called Country and a table called City.
City has a lookup to Country, creating the relationship.
I want to implement some simple functionality that when the country is deactivated in the model driven app, the related city/cities in the cities table are also deactivated.
For example: if the United Kingdom record is disabled in the Country table. London, Birmingham, Liverpool, etc is disabled in the City table.
City table | Country lookup |
Liverpool | United Kingdom |
London | United Kingdom |
Paris | France |
Berlin | Germany |
Could someone advise the best approach/way to do this?
Kind regards and thanks in advance.