IF condition how to write code for Empty option for comparing
i declared type,no,description,unit of measure fields..
for type in option string ..empty means only space comma..like this ,Item,Resource,Fixed Asset
when select the fields type and select No Field it automatically update description field and when select next time same row with other type it should be automatically clear that fields..
i wrote Clear function in Description ,it is clearing but when i executing iam getting error
IF (Type = Type::Item) THEN BEGIN
Ite.GET(No) ;
No:=Ite."No.";
Description := Ite.Description;
END;
IF (Type = Type::"Fixed Asset") THEN BEGIN
Fixed.GET(No) ;
No:=Fixed."No.";
Description := Fixed.Description;
END
ELSE
Reso.GET(No);
Description := Reso.Name;
*This post is locked for comments
I have the same question (0)