Calculate

  • Thread starter Thread starter EMILYTAN via AccessMonster.com
  • Start date Start date
E

EMILYTAN via AccessMonster.com

Below are my VBA coding:-

Sum=sum+1
Me!QtyKitted = sum

My textbox is QtyKitted.

But the problem is my control source is QtyKitted because I need to use it to
generate query.

May I know how to make the textbox to accumulate?

Eg QtyText Box = 1 QtyKitted=1
QtyTextBox = 4 QtyKitted=5
 
Hi Emily,

Sum is a reserved word in Access, please rename this variable.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top