Results 1 to 4 of 4
  1. #1
    jlclark4 is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Dec 2010
    Location
    North Carolina
    Posts
    155

    Transfere Text to different Text Box

    Hey.



    I have a text box that has a formula in it to calculate a percentage. Is there a code I can use to transfer that Percentage to another text box in the same entry? I want to use VB so I can set the control to a table to record the percentage...

    Thanks

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Normally we do not store calculated values in tables. Can it be calculated in a query from values in a table?

  3. #3
    jlclark4 is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Dec 2010
    Location
    North Carolina
    Posts
    155
    Yeah, I know. My query isnt giving me a Totals option. Plus, the table is very complex and my form uses Tabs. So not all of the controls have values in them for each entry. They very. And so does the total number divided by....If there was a way to just transfer the percent to the table it would be the easiest and get the job done since that number will never change...any suggestions?

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    When the Form is doing the calculating there is no event that could reliably move the results unless the user is making other changes that need saving. If the later is true then you can use the BeforeUpdate event of the form to store the calculated value.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 11-05-2010, 04:31 PM
  2. How to vertically align text inside a text box ?
    By alexcalgary in forum Forms
    Replies: 2
    Last Post: 10-06-2010, 08:44 AM
  3. Replies: 15
    Last Post: 09-18-2010, 01:19 PM
  4. I can't enter text in a bound text box
    By Jerry8989 in forum Forms
    Replies: 3
    Last Post: 10-05-2009, 11:52 AM
  5. Split text field into two text fields
    By Grant in forum Access
    Replies: 6
    Last Post: 01-31-2008, 05:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums