Hey Daniel
You are using which version Infopath 2007 or 2010 in 2010 you can cascade the dropdowns(second drop down gets populated based first dropdown selected value) by out of box features of infopath.
While in 2007 you have to do some coding for cascading. Which version are u working?