Dropodown dependant

#1

I have two tables on the database where (table one is main and table two is detailed, type states / countries)
Is it possible to implement 2 dependent drop down on the form (or grid / crud)?