Database reports
引入本课内容
| English | 释义 | 拼音 |
|---|---|---|
| report header | 报表页眉 | bào biǎo yè méi |
| page header | 页面页眉 | yè miàn yè méi |
| report footer | 报表页脚 | bào biǎo yè jiǎo |
| tabular | 表格形式 | biǎo gé xíng shì |
| columnar/ˈkɒləmnɑː/ | 纵栏形式 | zòng lán xíng shì |
| decimal alignment | 小数点对齐 | xiǎo shù diǎn duì qí |
Data ready to print
- A report presents selected data for printing or display, in sections that repeat in set places.
Report sections
| section | appears | contents |
|---|---|---|
| report header 报表页眉 | once, start | title, logo, date |
| page header 页面页眉 | every page top | column labels |
| detail | each record | the data |
| page footer | every page bottom | page number |
| report footer 报表页脚 | once, end | totals, averages |
Match each item to the report section.
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
Headers come first; footers last.
Layout
- Tabular 表格形式: records in rows, like a table: good for many records.
- Columnar 纵栏形式: one record at a time, labels beside data.
- Show all data and labels in full: widen controls.
Which layout shows one record at a time with labels beside the data?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Tabular shows records in rows.
Numbers in a report should be right-aligned.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Digits and decimal points line up.
A field label shows "Custom" instead of "Customer name". What should be done?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
All data and labels must show in full.
Which number formats can be set in a report?
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
Orientation is a page setting.
Formatting numbers
- Right-align numbers and use decimal alignment 小数点对齐; left-align text.
- Set decimal places, currency and percentage formats.
"Sales by Region": title in the report header; labels in the page header; sales in the detail; page numbers in the page footer; the currency total to 2 decimal places in the report footer.
A grand total goes in the report footer, not the page footer. The page footer repeats on every page.
Report header (once) → page header (each page) → detail (each record) → page footer → report footer (totals). Choose tabular or columnar; show everything in full; align and format numbers.
出了什么问题?只有网站团队能看到这些信息。