Trevor G
Registered User.
- Local time
- Today, 14:37
- Joined
- Oct 1, 2009
- Messages
- 2,368
Louisa,
Every object in a database has a name, when you design a table you assign field names, if you don't access (depending on which version) will assign them as Field1 etc, in query it is the same, if you build an expression and don't name it, it will assign it a name like Expr1. On a form even if you add a textbox there is a name like text8 and the label also is assigned a name which would be label7 or 9.
I would suggest that you open the form in design view select the properties and then select your total field, you will see it has a name called text8, hence me stating within your proper database you will have to do the same.
I have attached the copy you sent me with the code on the form and you will see that it works fine.
As you have stated you are self taught then perhaps this then adds to your knowledge.
Every object in a database has a name, when you design a table you assign field names, if you don't access (depending on which version) will assign them as Field1 etc, in query it is the same, if you build an expression and don't name it, it will assign it a name like Expr1. On a form even if you add a textbox there is a name like text8 and the label also is assigned a name which would be label7 or 9.
I would suggest that you open the form in design view select the properties and then select your total field, you will see it has a name called text8, hence me stating within your proper database you will have to do the same.
I have attached the copy you sent me with the code on the form and you will see that it works fine.
As you have stated you are self taught then perhaps this then adds to your knowledge.