Note that there are some explanatory texts on larger screens.

plurals
  1. POMS Access Lookup Wizard columns showing ID instead of name
    primarykey
    data
    text
    <h2>In General</h2> <p>I'm just getting started in MS Access and one of the issues that keeps creeping up is with lookup columns in tables will stop showing the lookup name, and start showing lookup ID.</p> <p>For example, say I have a search form that returns rows from my Orders table matching customer to 'mike'.</p> <pre><code> | order_no | cust_name | order_item | order date | |---------------------------------------------------| | 10204 | mike | 23 | 2011-05-01 | | 10205 | mike | 36 | 2011-06-17 | </code></pre> <p>I'll be plugging away fiddling around with the form, and all of a sudden it'll stop showing my customer name, and start show the actual customer_id.</p> <p>Like so: </p> <pre><code> | order_no | cust_name | order_item | order date | |---------------------------------------------------| | 10204 | 112467 | 23 | 2011-05-01 | | 10205 | 112467 | 36 | 2011-06-17 | </code></pre> <p><strong>Question:</strong> In general, what can I do to get this back to displaying the customer name? What properties of the fields displayed in my form are involved?</p> <hr> <h2>A specific example</h2> <p>I was just working on a search form and decided to change the <code>site</code> <code>label</code> (the one selected in yellow) from "site" to "Site" with capitalized S. </p> <p><img src="https://i.stack.imgur.com/m97kV.png" alt="enter image description here"></p> <p>When I went back to Form View I noticed that it was no longer showing the Site name, and was showing the id instead. </p> <p><img src="https://i.stack.imgur.com/ka6Ko.png" alt="enter image description here"></p> <p>But the <code>site</code> <code>combo box</code> above is still correctly showing the site names.</p> <p><strong>What can I do to fix this?</strong></p> <hr> <p>Here's a screen shot of the <code>site</code> <code>textbox</code></p> <p><img src="https://i.stack.imgur.com/5LORI.png" alt="enter image description here"></p> <p>And here's one for the <code>site</code> <code>label</code>. </p> <p><img src="https://i.stack.imgur.com/0AxQ7.png" alt="enter image description here"></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload