Minty
AWF VIP
- Local time
- Today, 01:42
- Joined
- Jul 26, 2013
- Messages
- 10,640
Glad you sorted it - I was trying to figure out how to word my reply to steer you in the right direction.
Me. is used to refer to the current form object. When you use it in the VBA editor you get Intellisense assistance to pick up the right control names, hopefully !
If you can while you are still on the learning curve try and get into the habit of renaming your controls on forms so they are different to the defaults of the field name.
e.g. if your Field name is BudgetRate then call your control txtBudgetRate this makes sure you refer to the control rather than the field.
In fact a naming convention is a great thing to adopt full stop. http://access.mvps.org/access/general/gen0012.htm
Me. is used to refer to the current form object. When you use it in the VBA editor you get Intellisense assistance to pick up the right control names, hopefully !
If you can while you are still on the learning curve try and get into the habit of renaming your controls on forms so they are different to the defaults of the field name.
e.g. if your Field name is BudgetRate then call your control txtBudgetRate this makes sure you refer to the control rather than the field.
In fact a naming convention is a great thing to adopt full stop. http://access.mvps.org/access/general/gen0012.htm