Results 1 to 3 of 3
  1. #1
    5 Star Lounger
    Join Date
    Jan 2001
    Location
    austin, Texas, USA
    Posts
    1,029
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Include field value in label control on form (Acc2K, Win2KPro)

    can this be done? I tried editing the caption of a lable on a form to
    "Set Page Order for Survey" & [SurveyName] and of course it didn't display the name from the record source. I can, of course, add a field to the form and set it to not look like a text box but it'd be nice to do this in the label control itself. I know this is possible in reports, but on a form label control???

  2. #2
    Gold Lounger
    Join Date
    Jun 2001
    Location
    Crystal Beach, FL, Florida, USA
    Posts
    3,436
    Thanks
    1
    Thanked 34 Times in 34 Posts

    Re: Include field value in label control on form (Acc2K, Win2KPro)

    You would have to do this in code, probably in the form's current event, something like:

    myLabel.caption = "Set Page Order for Survey " & [SurveyName]
    Mark Liquorman
    See my website for Tips & Downloads and for my Liquorman Utilities.

  3. #3
    5 Star Lounger
    Join Date
    Jan 2001
    Location
    austin, Texas, USA
    Posts
    1,029
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Include field value in label control on form (Acc2K, Win2KPro)

    thanks - worked fine.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •