Let me repeat, you should not override combobox rowsources. You should have different comboboxes for each case. Based on your code I may figure out that one combo will show data from motor table and another one from tipocarga table. You will toggle these comboboxes in the grid by using Column.DynamicCurrentControl property that will be based on vwcargacond.idtipo value.
Edward Pikman
Independent Consultant