penfold1992
Registered User.
- Local time
- Today, 23:43
- Joined
- Nov 22, 2012
- Messages
- 169
i have a form that adds some value into the database once a button is pressed. The value comes from a field that I want to clear after the value has been inserted. I have no idea what is wrong with the code but it doesnt clear the box.
heres the two pieces of code I am using...
thats the function and then here is the button
i get the "Successful Insertion message in the "Immediate" window so I know the code gets down that far.
heres the two pieces of code I am using...
Code:
Private Function Clearbox()
NewSupplier = Null
End Function
Code:
Debug.Print "Successful Insertion"
SupplierList.Requery
Forms![Request Form]![cmbSenderReciever].Requery
Clearbox
i get the "Successful Insertion message in the "Immediate" window so I know the code gets down that far.