Simple TextBox Problem

Trinb37

Registered User.
Local time
Today, 15:30
Joined
Oct 9, 2003
Messages
23
Hi everyone,
I have search far and wide for a anwer that I know is very simple, and relates to Microsoft Access. All I need is to have an Onclick event in a Access database form object button to (1) place data in a table and (2) print what has been place into the table in a textbox so that the user can see what has happened. The actions should be simultaneous. You see this one button is amonst the many buttons that will alost perform the same operation. All buttons is intended to work like the keys of a cash register, and like a store clerk the user should be able to see what he/she entered. eg.

**************Welcome to VegiMark**************

Item# item price
101 mango $1.00
102 bananna $1.00
Total $2.00



I already have part of the code:
Me.Text0 = Me.Text0 & " Text" & vbCrLf

I attempted to modify the above visual basic code to do the shown price list print out example. I would greatly appreciate it if some one who is so kind and generous enough to assist me in the modification of this code. Should there be another route beside the code (Me.Text0 = Me.Text0 & " Text" & vbCrLf) it would be greatly accepted. Thank you in advance.:confused:

Noel
 
Last edited:
It appears you are trying to create something like a cash register tape of entries made. Only problem with this approach is you could run into the limit of string characters. have you considered using a list box instead? You can use additem to add a new entry and the user can scroll back and forth to see what they have done. You also would not need a CR.
Just a thought
 

Users who are viewing this thread

Back
Top Bottom