Command buttons

abcman

Registered User.
Local time
Today, 06:25
Joined
Aug 7, 2010
Messages
18
Hi there,

Is there a way assign a value to a command button and when I click this command button it automatically adds this value to a list on the same page like a combo box or a list box ?

Thanks a mill.
 
You wouldn't be assigning a value to the command button. The command button has an "ON CLICK" event. You would develop VBA code in that event to accomplish what you are requesting.
 
And how you "add" the value to the combob/list box depends on the version of Access you're running and the type of RowSource it uses. In other words, is the combo/list box populated from a list of items you've entered or is it populated from a table or query.

Welcome to AWF!

Linq ;0)>
 
Thanks for your reply. In fact what I am trying to do is to make a very simple Point of sale system where you click a button and it adds the content of this button to a list then another item will add to the same list and at the end we print this list. Do you have a demo or something that can help me on this ?. Thanks.
 

Users who are viewing this thread

Back
Top Bottom