There is no definitive answer to that, as it depends what you want on the form. Ultimately all data comes from tables. If you just want to show all the records as they are you could base the form on the table. However if you want to display only selected records or certain calculations, you might create a query to do those operations and then base the form on the query.
Data Source
You can use the Create Table Wizard, a Make Table Query or a Data Definition Query as ways that are built into Access to create tables.
create table vino(char name(6));
If its 2007, Go to the "Create" tab, then "Query design" drag all the fields into the table at the bottom, Presto.
It does not show in the query grid. On the Append To line you can pick the fields in the destination table that you want values to be appended to. The query grid is just for specifying what fields and records you want to be added to the destination table, so it only needs to show the source table.
There are several types that can do it. A Delete Query, an Update Query and an Append Query can. You can also create and delete entire tables with queries.
The easiest way to do this, assuming you have a fixed tax rate, is to simple create a calculated field in a query.Let's say you have a table with Price, Quantity, and TaxRate in it. Create a query based on that table, and bring these three fields into the query.Now create a new, calculated query in a new column. In the first row (the name) of the query, put the following:SalesTax: (Price * Quantity) * TaxRateWhen you run the query, you should see SalesTaxt as a new, calculated field. Now you can use this query for any forms or reports you need this value in.Hope this helps.Richard Rostwww.AccessLearningZone.com
In a query, you typically need to specify the data you want to retrieve, the conditions that should be met for the data to be included, and any sorting or grouping instructions. Additionally, you may need to specify the data source or table from which the data should be retrieved.
To create a query that will display the top five orders in descending order by order total create a select query object. Open the query design table and select the top five orders, then choose to display them in descending order.
Show Table dialog box
It is not C, it's SQL. Non-query means DML (INSERT, UPDATE, DELETE) and DDL (eg CREATE TABLE).
A query datasheet displays the results of a query operation, showing data based on specified criteria or calculations. A table datasheet displays the data in a table format, representing information stored in a database table. In essence, a query datasheet is derived from a table datasheet and is dynamic based on the query criteria.