Length Function
Posted: Tue Feb 26, 2008 9:38 am
I am trying to use the Length fucntion in the event builder and I keep getting the following error.
error BC30451: name 'Length' is not declared
code is
I have also tried embedding the data value to check inside the length check, but no joy.
Any help appreciated.
J.
error BC30451: name 'Length' is not declared
code is
Code: Select all
dim s as string = DataBill_Unit.text
if Length(s) = 0 then
DataBill_Quantity.enabled = false
DataBill_NettRate.enabled = false
DataBill_NettTotal.enabled = false
else
DataBill_Quantity.enabled = True
DataBill_NettRate.enabled = True
DataBill_NettTotal.enabled = True
end if
Any help appreciated.
J.