Results 1 to 3 of 3
  1. #1
    JesVic is offline Novice
    Windows 11 Access 2016
    Join Date
    Dec 2023
    Posts
    2

    Field in form shows #name?

    I created a summation query to count total number of checkmarks in a database and in the same query I asked to summarize the numbers in a field of the database.

    This is the result of the query: 2 single columns with 760 for the total pages, and 4 for the total number of books.




    I go to a form and insert a textbox. I insert an expression function: =[Query_statistiek]![Totaal_blz] to insert the above value "760" in the textbox. When I switch again to the form normal view, the field is filled with #name? instead of the retrieved value who is saved in the query (760).

    Any idea what I did wrong? I checked several times the properties but do not know what I have forgotten. I'm a visual impaired person.

  2. #2
    xps35's Avatar
    xps35 is online now Competent Performer
    Windows 10 Office 365
    Join Date
    Jun 2022
    Location
    Schiedam, NL
    Posts
    232
    Try:
    =DLookUp("Query_statistiek";"Totaal_blz")
    Groeten,

    Peter

  3. #3
    JesVic is offline Novice
    Windows 11 Access 2016
    Join Date
    Dec 2023
    Posts
    2
    Quote Originally Posted by xps35 View Post
    Try:
    =DLookUp("Query_statistiek";"Totaal_blz")
    Yeah! Just switch item 1 and item 2 like here: =DLookUp("Totaal_blz";"Query_statistiek")
    Great, many thanks!

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

Similar Threads

  1. Replies: 2
    Last Post: 04-13-2020, 02:45 AM
  2. Replies: 1
    Last Post: 06-06-2014, 09:34 AM
  3. Replies: 12
    Last Post: 10-21-2013, 07:46 AM
  4. Replies: 6
    Last Post: 01-24-2013, 10:02 PM
  5. Text box shows ID field and not the Name
    By jzacharias in forum Access
    Replies: 5
    Last Post: 10-18-2012, 10:24 AM

Tags for this Thread

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