Thisform.combo2.rowSource = ; "SELECT distinct code,descr, type ; FROM accounts; WHERE type ="income"; INTO cursor combopapert" but when i try: WHERE type thisform.textt.value no error