We have an Order form and inside it – an Order_Item form. It has two dropdowns, Category and Items. A change in Category is supposed to repopulate the Items dropdown. I'm using the following code, which generates weird errors:
if (count(Products[Category ==row.Category]) == 0)
{
clear row.Items;
}
else
{
itemlist = Products [Category ==row.Category] sort by Product ;