Hi, how do i simplify this function? I tried substituting the value 1 so it becomes like this but i get the "Expected: end of statement" error. Can anyone help? Thanks
Code:
Function StdRow1Enabled(Value As String)
Forms!F_ReceivingStandardParts!subform1.Form!txtBalQty1b.Enabled = Value
End Function
Code:
Function StdRow1Enabled(Num As Integer, Value As String)
Forms!F_ReceivingStandardParts!subform1.Form!txtBalQty(Num)b.Enabled = Value
End Function