Good day All,
I have 4 unbounded controls which I would like to empty after using. However assigning Null to them to achieve the emptying objective results in an error message. It was working very well before with exactly the same code but all of a sudden it gives an error message.
The error message is "you can't assign a value to this object"
Can anyone assist with this situation.
Here is my code:
I have 4 unbounded controls which I would like to empty after using. However assigning Null to them to achieve the emptying objective results in an error message. It was working very well before with exactly the same code but all of a sudden it gives an error message.
The error message is "you can't assign a value to this object"
Can anyone assist with this situation.
Here is my code:
PHP:
Public Sub ClearPaymentControls() Forms![Invoice Payments]![PayAmt] = Null Forms![Invoice Payments]![PayDate] = Null Forms![Invoice Payments]![PayType] = Null Forms![Invoice Payments]![payRef] = Null End Sub
Last edited: