I have two tables: categories and products.
categories: categoryID, categoryName
products: prodID, prodName, categoryID
I tried with delete record server behaviors like below
("DELETE FROM categories WHERE categoryID=%s", GetSQLValueString($_GET['catID'], "int"));
and that delete only selected category (parent) without products (child)!
How to delete one category and all products for that category?
categories: categoryID, categoryName
products: prodID, prodName, categoryID
I tried with delete record server behaviors like below
("DELETE FROM categories WHERE categoryID=%s", GetSQLValueString($_GET['catID'], "int"));
and that delete only selected category (parent) without products (child)!
How to delete one category and all products for that category?