Hi,
I have created a new Table (Tester)and Form (Tester). I have placed a Listview in form and wanted to populate that from the Form Datasource (tTest). Is there a good example anywhere on how to do this? Note: Form does not get called from another form. I only want to see this in test.
Here is code on Form Method - the while(testerTable) is not entered even though there is a record in the table.
public void init()
{
MultiSelectionHelper multiSelectionHelper;
Tester testerTable;
super();
multiSelectionHelper = multiSelectionHelper::construct();
multiSelectionHelper.parmDatasource(Tester.dataSource());
testerTable = multiSelectionHelper.getFirst();
while(testerTable)
{
ListView.add(strFmt("%1 - %2",testerTable.ItemId, testerTable.Name));
testerTable = multiSelectionHelper.getNext();
}
}
*This post is locked for comments
I have the same question (0)