I have two sharepoint Lists
Sites(SiteName,Maxworkersallowed)
WorkersonSite(workers,Sitename as foriegnkey)
I have a browser enabled infopath form for assigning workers to the site.My requirement is to get the related Maxworkersallowed and workers from sharepoint lists to do some calculations when user selects the site from a dropdownlist while Maxworkersallowed will always be having a single value and workers may have 1 or null(when no workers assigned) value. what is the best way to implement this?