PC Review


Reply
Thread Tools Rate Thread

Copy contents of one textbox to another textbox on the same form

 
 
New Member
Join Date: Sep 2011
Posts: 1
 
      14th Sep 2011
I have a user form called "Student Registration Form" and on that form I have two textboxes one called "Family Last Name of Primary Residence" and the other one called "Last Name" I am trying to copy the contents of "Family Last Name of Primary Residence" textbox to the "Last Name" textbox with no sucess but be able to correct the "Last Name" textbox if necessary. The code I am using is:

Private Sub FAMILY_LAST_NAME_OF_PRIMARY_RESIDENCE_AfterUpdate()
Me.Last_Name = Me.Family_Last_Name_Of_Primary_Residence
End Sub

I have tried to replace the "." (period) with "!" (exclamation point) -- neither one works -- as I input the form data the form contunues like nothing is happening.

This does not work. Please help

Also,
I would like to have the textbox "Family Last Name of Primary Residence" to be all capitals upon exit, any suggestions?

Thank you,
Mike
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[2008] Clear contents of textbox, reverting transaction with textbox method undo Rob W Microsoft VB .NET 0 6th Mar 2009 10:39 AM
Copy contents of textBox to Cell in Excel Shashi Bhosale Microsoft Excel Programming 0 14th Jun 2006 04:05 PM
How to copy textbox contents into the clipboard? keithb Microsoft Access Form Coding 1 26th Jun 2005 08:59 PM
Copy textbox contents Stuart Microsoft Excel Programming 2 15th Aug 2004 06:57 PM
Copy Textbox Value from form to subform textbox James Microsoft Access Forms 0 18th Sep 2003 08:23 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:02 AM.