Filling a list box
Posted on 2002-03-20
Maybe I'm missing something here or possibly I'm just going stark staring mad but....
I have a dialog box with a listbox control in it. I have associated this with a command in my dataenvironment by listing the datasource as my dataenvironment, the datamember as my command and the datafield as one of the fields from the command. (The actual command is a simple table scan).
When I run the dialog I get nothing in the listbox. However if I create a textbox on the dialog and bind it to the database in the exactly the same way the field from the first row of the table is displayed.
So the question is what have I missed out on the listbox or is there something else I want to do.