Topic: How to restrict creation of sub entry ?
Hello Guys,
I was trying to create small cereal app to learn MVD more. Here is my issue Original grams of cereal is 1000 in main "cereal" table for perticular brand when I try to divide it or create sub entry in form3 it doesn't understand that first entry was 100 grams and next entry can't be 1000 grams. or there is no subtract function in it I think so, how can I achieve this problem's solution.
Basically what i want is if main entry is 1000 gram than total of sub entry for particular brand must not exceed original grams.