Results 1 to 3 of 3
  1. #1
    Bronze Lounger
    Join Date
    Feb 2001
    Location
    Escondido, California, USA
    Posts
    1,458
    Thanks
    0
    Thanked 1 Time in 1 Post

    Getting text data from a form (Access 2002)

    What is the syntax used to insert text data from a form into a field on a report?

    For example, I have a form called frmStart and it has a text box labeled txtLine1. After entering some text into the text box I want to copy that text into a report. I've tried something like =[frmStart!txtLine1] in the report, but all I get is a request to Enter a Parameter Value.

  2. #2
    Platinum Lounger
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    4,594
    Thanks
    0
    Thanked 27 Times in 27 Posts

    Re: Getting text data from a form (Access 2002)

    Try the following:

    =Forms![frmStart]!txtLine1

    This presumes that the form frmStart is open.

  3. #3
    Bronze Lounger
    Join Date
    Feb 2001
    Location
    Escondido, California, USA
    Posts
    1,458
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Getting text data from a form (Access 2002)

    That works great! THanks

Posting Permissions

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