Iterate over multiselected posts
Usefull code that gets the selected posts.
Another usefull function is *****_ds.mark(), which returns the number of selected posts.
void iterateSelectedRecords()
{
CustTable custLocal;
;
//getFirst method gets all the selected records in the grid
custLocal = CustTable_ds.getFirst(true);
while (custLocal)
{
// Do something with the posts
// get the next selected record
custLocal = CustTable_ds.getNext();
}
}
Another usefull function is *****_ds.mark(), which returns the number of selected posts.
Comments
Post a Comment