i have learning reports in access and i don’t understand the difference between these two concepts. i understand that the control source is the column? but then what is the row source?
i have learning reports in access and i don’t understand the difference between these
Share
Row Sourceis typically used to determine how to build a list of items whereasControl Sourcedetermines what field will be used to store or retrieve the value. For example, in aCombo Boxyou have both properties. TheRow Sourcedetermines how to build the list the user sees when they hit the down arrow. TheControl Sourcedetermines where to store the value that the user selects.EXAMPLE Suppose we have a form that is bound to table called
Carswhich lists information about automobiles. One of the columns in this table is used to store the color of the car. Let’s suppose that column is namedBodyColor. You also have another table of allowed colors (e.g. Blue, Yellow, Green, Steel Blue, Midnight Blue etc.). You want to ensure that users choose from this list of colors when they enter a value for the car’s color.On our form we add a Combo Box where we set the following properties:
When a user sees your Combo Box, they will be able to hit the down arrow on the Combo Box and see a list of colors. When they choose a color, the Form will save their selection into the
BodyColorcolumn.