Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Text form fields...

Status
Not open for further replies.

Taleya

Programmer
Mar 9, 2000
12
AU
Hi,<br><br>Ok, I admit it, word is NOT my forte. However, a client has asked me to create a protected form for her. No problem. However, it's an Invoice form, and I'd like it to automatically fill in the invoice number on the tearaway slip when she types it in the main document. (text1 is where the initial invoice number is placed) is there any way, short of a macro, to get it to do this? <p>Taleya<br><a href=mailto:thezoomistress@yahoo.com.au>thezoomistress@yahoo.com.au</a><br><a href=homepages.ihug.com.au/~taleya>Gorillaweed Graphics</a><br>You spam me, I castrate you
 
Make the default value of the text box on the tearaway slip equal to Textbox1<br><br>Assuming Textbox1 is where she inputs the Invoice Number and Textbox2 is where she wants the number on the tearaway:<br><br>In design mode right click on TextBox1, Click on View Code, Type TextBox2.value = TextBox1.Value<br><br>Sample:<br><br>Private Sub TextBox1_Change()<br>TextBox2.Value = TextBox1.Value<br><br>End Sub<br><br>Bob Crawford
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top