• TextBox (2003)

    Author
    Topic
    #429573

    I have a text box that I would like to be filled with the result of a field in a query that is ran. As it stands now the result #Name? is in the text box when the form is in run mode. Any help is appreciated.
    Thanks

    Viewing 0 reply threads
    Author
    Replies
    • #1000762

      What is the current control source of the text box?

      • #1000764

        there is no control source because when i put my query in for the control source it still gives me #Name? in the textbox
        If I put the following code in the control source or the default value i get #Name? in the textbox
        =[quCurVac]![SumOfSumR]

        • #1000765

          Are you referencing this in the record source of the report or form? Maybe drop a boiled down version so we can have a peek.

        • #1000780

          You cannot refer to a query this way. Try

          =DLookup("SumOfSumR","quCurVac")

    Viewing 0 reply threads
    Reply To: TextBox (2003)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: