Hi,
I have a formDataSource thats is a view. How can I create a RecordSortedList based on this fds?
I need to get the records selected in a form where the data source is my view. I dont need to pass the data that I included in that view using computed columns, the standard table is all I need.
private void buildInvoiceList()
{
list = new RecordSortedList(tableNum(CustInvoiceJour));
for (CustInvoiceJour = CustInvoiceJour_ds.getFirst(true) ? CustInvoiceJour_ds.getFirst(true) : CustInvoiceJour_ds.cursor(); CustInvoiceJour; CustInvoiceJour = CustInvoiceJour_ds.getNext())
{
list.ins(CustInvoiceJour);
}
}