ACC95: Table and Query Questions and Answers (7.0)
ID: Q137344
|
The information in this article applies to:
Novice: Requires knowledge of the user interface on single-user computers.
SUMMARY
This article contains questions and answers about tables and queries in
Microsoft Access version 7.0 for Windows 95.
MORE INFORMATION- Q. How can I optimize my queries?
A. Microsoft Access uses Rushmore(TM), a data-access technology
that permits sets of records to be queried efficiently. To
optimize performance, try the following tips:
- Run the Performance Analyzer.
- Index the fields used in sorts and criteria.
- Index the fields used in joins in both tables.
- Use multiple-field indexes on fields where there are
multiple-column joins between the tables.
- If a table has a single-field primary key, do not add a
separate index to the primary key field. If a table has
a multiple-field primary key, add a separate index on
each field.
- Use outer joins only when necessary. Outer joins limit
the options for the query optimizer.
For more information about query performance, search on the
phrase "How do I optimize my query" then view "Tell Me About:
Optimizing query performance" using the Answer Wizard from the
Microsoft Access Help menu. Or, see
Q112112.
- Q. How can I print the Relationships window?
A. Microsoft Access does not have an option to print the graphical
Relationships window. However, you can press ALT+PRINTSCREEN to
copy the image to the Clipboard, and then paste the image into
another program, such as Paint in Microsoft Windows 95, to
print it.
- Q. All of a sudden I see tables in my database with names that
start with MSys. How did they get there? Can I delete them?
A. No, you definitely do not want to delete these tables. These
tables are part of every .mdb file, and they keep track of the
objects in your database. To hide these tables from view,
follow these steps:
- On the Tools menu, click Options.
- On the View tab, click to clear the System Objects check
box.
- Q. Microsoft Access automatically joins my tables when I add them
to a query. Can I turn this feature off?
A. Yes, there is a new option that joins tables called AutoJoin.
Use the following steps to disable the AutoJoin option:
- On the Tools menu, click Options.
- Click the Tables/Queries tab.
- Click the Enable AutoJoin check box to clear it.
- Q. I like the new DisplayControl property that enables me to have
a combo box in my table, but how can I have the combo box
appear as a regular field when I base my query on that table?
A. To change the control type back to a text box in a query,
follow these steps:
- Open the query in Design view.
- Using the right mouse button, click the field in the query
grid, and then click Properties on the menu that appears.
- Click the Lookup tab, and change the DisplayControl property
to Text Box.
Note that the DisplayControl property setting was blank before
you changed it to Text Box. This property is inherited from the
field's DisplayControl property in the table. Changing the
property in the query grid has no effect on the property in the
table.
For more information about lookup fields, search on the phrase
"What is a lookup field" then view "How do I create a field
that looks up or lists values in tables" using the Answer
Wizard from the Microsoft Access Help menu.
- Q. What is the difference between setting the DisplayControl
property on the Lookup tab to Combo Box instead of to List Box?
They look the same when I view my table.
A. In Datasheet view, the field or control appears as a combo box.
However, when you create a form using a Wizard or when you drag
fields from the field list to the form, you will see the
control type specified in the field's DisplayControl property.
Keywords : kbdta
Version : 7.0
Platform : WINDOWS
Issue type : kbinfo
|