i am doing one smartform for controlled and non controlled substance and i created two windows for con and non con
now i need to find the num of labels in particular form
var = 1.
if label_type 'c1' or 'n1'
var = var + 1.
plz tellme me the above logic is correct or not if its correct
plz tel me where i have to write this logic