Results 1 to 3 of 3
  1. #1
    Richie27 is offline Competent Performer
    Windows 7 32bit Access 2007
    Join Date
    Feb 2012
    Location
    Ireland
    Posts
    159

    Message Box with a name variable

    Hi all,

    I have a message box that I want to add someone's name to the end of but that name will vary depending on which record the user happens to be on.

    So, basically if I want to update multiple records for say Joe Bloggs all at once I waNT THe message box to read "Are you sure you want to update all records for Joe Bloggs"?

    I want the box to know it is Joe Bloggs by accessing a field on the form that is open.



    Thanks in advance,
    Rich.

  2. #2
    R_Badger is offline Knows a few tricks
    Windows XP Access 2003
    Join Date
    Feb 2012
    Location
    Suffolk, UK
    Posts
    262
    Read
    http://www.techonthenet.com/access/c...sgbox_args.php

    for your example:

    msgbox "Updating records relating to"& me.[subject_name]

  3. #3
    Richie27 is offline Competent Performer
    Windows 7 32bit Access 2007
    Join Date
    Feb 2012
    Location
    Ireland
    Posts
    159
    thanks - will have a look!

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

Similar Threads

  1. Replies: 0
    Last Post: 08-10-2011, 11:59 AM
  2. Object variable or With block variable not set
    By walter189 in forum Programming
    Replies: 1
    Last Post: 07-28-2011, 08:51 AM
  3. Replies: 4
    Last Post: 08-05-2010, 01:26 PM
  4. Refering to variable form names inside a variable
    By redpetfran in forum Programming
    Replies: 2
    Last Post: 05-21-2010, 01:39 PM
  5. message box help
    By shaz10010 in forum Forms
    Replies: 1
    Last Post: 04-17-2009, 09:11 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