Forms. Use underlying tables n Owners form - add data to Owners table n Cats form - add data to Cats...
-
Upload
danielle-knight -
Category
Documents
-
view
214 -
download
2
Transcript of Forms. Use underlying tables n Owners form - add data to Owners table n Cats form - add data to Cats...
Forms
Use underlying tables
Owners form - add data to Owners table Cats form - add data to Cats table Record Source Property
– Record source is a table or query e.g Bookings table
Data Model Diagram
Cats Owners
Bookings
Where forms can help
Data Entry e.g entered owners names etc. Data validation - select from valid list Calculations
Data Entry
Boxes on form Type data in boxes Data is added to fields in table
– e.g cat’s names, owners first and last names
Data Validation
Combo Box object Get data fields from Owners Table Need to store Ownerid so box must be bound
to Ownerid field Ownerid is the Control Source Property of
the object Combo box displays pick list (Access jargon
for a menu)
Calculations
Text box object Expressions used as control source
property Derived from data in the table Result displayed on the form - not stored in
the table
Expressions
Combination of operators, constants, literal values, functions, and names of fields, controls, and properties that evaluates to a single value.
Examples - see Help, Index, Expressions, Examples of Expressions
Our example includes
arithmetic operators – multiplication (*)– Division (/)– Addition (+)– Subtraction (-)
can include field names from the record source table– e.g [NoOfCats]