Results 1 to 3 of 3
  1. #1
    rcdeck is offline Novice
    Windows 7 32bit Access 2003
    Join Date
    Jan 2013
    Posts
    2

    Question Update Label from Text Box

    Hey all!



    First of all, I apologize for having to ask this question, I know its extremely basic and I've done some searching but since I'm not all that familiar with access I'm not exactly sure the correct terminology to search for it. I have tried my best with Google and this forum but I am not coming up with anything that I think is correct, or that I can understand so I hope you can all help!

    I am creating a form which I have split in half (Left|Right) and I have options on the left side such as date fields, and name fields. On the right, I would like it to be creating a sample of the output.

    Example. When I update the Start Date field, on the right, I would like the Label to read "Start Date: 1/1/12 to End Date: " Then I will update the End Date on the left and the label will immediately update to "Start Date: 1/1/12 to End Date: 1/10/12"

    So...
    Label starts as "Start Date: to End Date: "
    Pick start date shows "Start Date: 1/1/12 to End Date: "
    Pick end date shows " "Start Date: 1/1/12 to End Date: 1/10/12"

    Edit: Additionally, this information will all be exported to an e-mail in a table format.

    Any help would be greatly appreciated. I will likely be here frequently as I am starting a few projects involving access and have them linked to sharepoint tables, so hopefully this is the right place for these questions!

    Thanks in advance,

    Rob

  2. #2
    John McMahon's Avatar
    John McMahon is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2013
    Location
    Molokai, Hawaii
    Posts
    2
    Have you looked at using events such as After Update, On Change, Lost Focus, and Exit of the input controls on the left? Code in there would update the labels on the right.

  3. #3
    rcdeck is offline Novice
    Windows 7 32bit Access 2003
    Join Date
    Jan 2013
    Posts
    2
    Quote Originally Posted by John McMahon View Post
    Have you looked at using events such as After Update, On Change, Lost Focus, and Exit of the input controls on the left? Code in there would update the labels on the right.
    I have not but I will take a look at that now.

    Thank you!

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

Similar Threads

  1. set after update for a text box
    By smahdih in forum Access
    Replies: 3
    Last Post: 11-05-2011, 03:32 PM
  2. click label -> append text to texbox
    By cnstarz in forum Access
    Replies: 5
    Last Post: 06-15-2011, 06:09 AM
  3. Replies: 2
    Last Post: 05-05-2010, 02:52 PM
  4. Replies: 1
    Last Post: 04-29-2010, 05:15 PM
  5. Replies: 1
    Last Post: 03-29-2009, 08:27 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