Results 1 to 2 of 2
  1. #1
    ngruson is offline Novice
    Windows XP Access 2003
    Join Date
    Apr 2010
    Posts
    6

    Set Label.Caption to field of recordsource


    My form is bound to a tabel by assigning the table name to the RecordSource property of the form.
    How can I set the caption of a label to show the value of the field of this recordsource?
    There's a field Description in the recordsource, I want the label to contain the value of this field.
    How can I do this using VBA?

  2. #2
    NTC is offline VIP
    Windows Vista Access 2007
    Join Date
    Nov 2009
    Posts
    2,392
    Rather than use a label - instead use a textbox. Since you are using a textbox to function as a label you will probably want to delete or make not visible the label of that textbox which is automatically provided.

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

Similar Threads

  1. Replies: 1
    Last Post: 04-29-2010, 05:15 PM
  2. Replies: 1
    Last Post: 03-24-2010, 02:25 PM
  3. Replies: 2
    Last Post: 10-16-2009, 02:47 PM
  4. Caption Property & Queries
    By jhrBanker in forum Queries
    Replies: 3
    Last Post: 08-21-2009, 02:28 AM
  5. What I am doing wrong? (caption of report)
    By swampdonkey in forum Reports
    Replies: 0
    Last Post: 12-07-2006, 11:07 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