>I am trying to populate my listbox programatically using the following commands:
>
>.list1.rowsource = lv_div.division
>.list1.rowsourcetype = 6
>requery('lv_div')
>thisform.list1.refresh()
>.txtDivision.setfocus()
>
>and I get the following error message
>
>"field" phrase is not found (Error 1130)
>
>Nothing shows up in my list box, but when I used the builder for listbox it uses fields form rowsource type and lv_div.division is used for rowsource. Can anyone tell me what I am doing wrong?
>
>help appreciate
>Nick
Usually, this error message indicates typo in rowsurce line. Do you have there exactly what you posted?
Anyway, there is one more thing here. If you change List.Rowsource content, doing Requery('view'), then you should bring it to the list by firing List.Requery and after this you may fire List.Refresh
Edward Pikman
Independent Consultant