Referencing a Text Box field

How do I check to see if a particular TextBox is empty? In Visual Studio I would simply write: if (TextBox1.Text.Length == 0) { blah blah blah } Is there a similar way of doing this in Navision? Thanks in advance for any advice, Darcy

TextBox controls do not have a length property. But since any TextBox must have a SourceExpr value, be it a Field or a Variable, you can instead check for the length of the Field/Variable, can’t you?