Forum Discussion

CShewear's avatar
CShewear
Copper Contributor
Dec 28, 2023

Printing Customer Information from a Customer ID

I am setting up a database.  I would like to know how I can print a customer name by just showing the customer ID.   Is this possible?

 

Thank you.  

 

CS

  • How are you showing the Customer ID? Where does it come from (a table? user data entry?)

    It is more common that a customer is chosen from a dropdown on a form: it has 2 columns: an invisible CustomerID, and a visible CustomerName column. If you download the Northwind Starter Edition Template (File > New), you will see an example of that on the OrderDetails form.
    • CShewear's avatar
      CShewear
      Copper Contributor
      Thank you for answering. The customer ID is entered by the data entry person. I am trying to put together a feasibility conference appointment database. The previous database had one gigantic table where all the information was added. I was trying to shorten it by adding only the customer ID and Facility ID. numbers. But my quandary now is how can i get the table below to print out the customer ID and facility information.

      I have the following fields in my table:

      Feasibility ID Customer ID License # Inspector Date Time Status

      Thank you,

      CS

      • Tom_van_Stiphout's avatar
        Tom_van_Stiphout
        Steel Contributor

        > Feasibility ID Customer ID License # Inspector Date Time Status
        I would HIGHLY recommend you get rid of spaces and other funny characters, as well as Reserved Words.
        Also a few more lookup tables may be in order, like tblInspectors and tblStatus.
        FeasibilityID, CustomerID, LicenseNo, InspectorID, VisitDateTime, StatusID

Resources