Chapterبەش 4 · Lectureوانە 4.1

Formsفۆرمەکان

Build the screens of the University database: the Form tool, the Form Wizard, Blank Form and Form Design; form views, layouts, sections and themes; bound, unbound and calculated controls; sorting, filters and Filter by Form; a main form with a subform and a total; a combo box that finds a student; command buttons with embedded macros; and a navigation form as the main menu.

شاشەکانی University دروست بکە: ئامرازی Form، ⁦Form Wizard⁩، ⁦Blank Form⁩ و ⁦Form Design⁩؛ ، ڕێکخستن، بەش و ؛ بەستراو، نەبەستراو و ژمێردراو؛ ، و ⁦Filter by Form⁩؛ سەرەکی لەگەڵ و کۆیەک؛ ⁦Combo Box⁩ـێک کە قوتابی دەدۆزێتەوە؛ فەرمان بە ناوەکی؛ و Navigation وەک لیستی سەرەکی.

22 min read25 خولەک خوێندنەوە · 24 stepsهەنگاو

What you will learnچی فێر دەبیت

  • Explain what a form is for and tell bound from unbound forms and controls.
  • Create forms with the Form tool, the Form Wizard, Blank Form and Form Design, and use Form, Layout and Design view.
  • Add bound, unbound and calculated controls, set form properties and apply a theme.
  • Sort and filter records in Form view, including Filter by Form with OR.
  • Build a main form with a subform and a total, a combo-box record finder, command buttons and a navigation form.
  • ڕوون بکەیتەوە بۆ چییە و و بەستراو لە نەبەستراو جیا بکەیتەوە.
  • بە ئامرازی Form، ⁦Form Wizard⁩، ⁦Blank Form⁩ و ⁦Form Design⁩ دروست بکەیت و Form، Layout و بەکاربهێنیت.
  • بەستراو، نەبەستراو و ژمێردراو زیاد بکەیت، تایبەتمەندییەکانی دابنێیت و بەکاربهێنیت.
  • لە ⁦Form view⁩ ڕیز بکەیت و ، لەوانە ⁦Filter by Form⁩ بە OR.
  • سەرەکی بە و کۆیەکەوە، ⁦Combo Box⁩ـێکی دۆزینەوەی ، فەرمان و Navigation دروست بکەیت.

What a form isفۆرم چییە

A is the screen most people use instead of the tables. Each piece on it — a box with a student's name, a label, a tick box, a button — is a . Office staff who never open a table, the naive users of a database, do all their work through forms. A form has three jobs:

ئەو شاشەیەیە کە زۆربەی خەڵک لە جیاتی بەکاری دەهێنن. هەر پارچەیەکی سەری — سندووقێک بە ناوی قوتابییەکەوە، نووسینێک، چوارگۆشەیەکی نیشانکردن، — ـێکە. ئەو فەرمانبەرانەی هەرگیز ناکەنەوە، واتە بەکارهێنەرە سادەکانی ، هەموو کارەکانیان لە ڕێگەی دەکەن. سێ کاری هەیە:

  • Data entry — add, change and delete records one at a time (frmStudent).
  • Asking for values before a task — for example a small form where the user picks two dates before a report opens (the same job a parameter query does with its prompts).
  • Navigation — a main menu that opens the other forms and reports (frmMainMenu, at the end of this lesson).
  • تۆمارکردنی — زیادکردن، گۆڕین و سڕینەوەی یەک بە یەک ⁦(frmStudent)⁩.
  • پرسینی نرخ پێش ئەنجامدانی کارێک — بۆ نموونە بچووک کە دوو ڕێکەوت تێیدا هەڵدەبژێرێت پێش ئەوەی بکرێتەوە (هەمان کار کە پرسی پارامیتەر بە پرسیارەکانی دەیکات).
  • ڕێنیشاندان — لیستێکی سەرەکی کە و تر دەکاتەوە (frmMainMenu، لە کۆتایی ئەم وانەیەدا).
Quick checkپشکنینی خێراA small form asks the user for two dates before the fees report opens. Which job of a form is that? بچووک پێش کردنەوەی کرێکان دوو ڕێکەوت لە دەپرسێت. ئەمە کامە لە کارەکانی ؟

What a form isفۆرم چییە

Bound and unbound formsفۆرمەکانی بەستراو و نەبەستراو

A bound form has a record source — a table or a query — and shows its records; what you type is saved in that table. An unbound form has no record source: a main menu or a date-picking dialog shows no records.

بەستراو سەرچاوەی ـی هەیە — یان — و پیشان دەدات؛ ئەوەی دەینووسیت لەو پاشەکەوت دەکرێت. نەبەستراو هیچ سەرچاوەیەکی نییە: لیستێکی سەرەکی یان بۆ هەڵبژاردنی ڕێکەوت هیچ پیشان نادات.

The counter at the post officeپەنجەرەی پۆستەخانە

At a post office you never walk into the back room where the letters are filed. You fill in a slip at the counter, and the clerk files it for you. A form is that counter: the tables are the back room.

لە پۆستەخانەدا هەرگیز ناچیتە ژووری پشتەوە کە نامەکانی تێدا ڕێکدەخرێن. لە پەنجەرەکەدا پەڕەیەک پڕ دەکەیتەوە و فەرمانبەرەکە بۆت ڕێکی دەخات. ئەو پەنجەرەیەیە: ژووری پشتەوەن.

Where the analogy stops workingسنووری ئەم نموونەیە

There is no clerk in between: Access writes each record into the table the moment you leave it.

هیچ فەرمانبەرێک لە نێواندا نییە: Access هەر هەر کە جێی دەهێڵیت دەینووسێتە ناو .

Quick checkپشکنینی خێراWhich form is unbound?کام نەبەستراوە؟

The Forms groupگرووپی Forms

Every way to make a form starts on Create → Forms:

هەموو ڕێگایەکی دروستکردنی لە Create → Forms دەست پێدەکات:

Create → Forms in Access for Microsoft 365Create → Forms لە ⁦Access for Microsoft 365⁩
ButtonWhat you getچی وەردەگریتOpens inلە چی دەکرێتەوە
Forma form with every field of the selected table or query, one record at a time بە هەموو ئەو یان هەڵبژێردراوە، هەر جارە Layout view
Form Designan empty form; you add fields and controls بەتاڵ؛ و زیاد دەکەیتDesign view
Blank Forman empty form with the Field List open بەتاڵ بە ⁦Field List⁩ـی کراوەLayout view
Form Wizardasks for the fields, the layout and a title — also from several tables، ڕێکخستن و ناونیشان دەپرسێت — لە چەند your choiceهەڵبژاردەی خۆت
Navigationa menu form with tabs that open your forms and reports لیست بە تابەوە کە و دەکەنەوەLayout view
More Forms → Multiple Itemsmany records at once, one per row (a continuous form)زۆر پێکەوە، بۆ هەر یەکێک ڕیزێکLayout view
More Forms → Datasheeta form that looks like a datasheet کە وەک دەردەکەوێتDatasheet view
More Forms → Split Forma form on top and a datasheet below, kept in step لە سەرەوە و لە خوارەوە، هاوکاتLayout view
More Forms → Modal Dialoga small dialog with OK and Cancel that must be closed before you go on بچووک بە OK و Cancel کە دەبێت دابخرێت پێش ئەوەی بەردەوام بیتDesign view

Create → Application Parts also offers ready-made blank forms (for example a dialog or a list layout) — handy when you know the look you want before you know the data.

Create ← ⁦Application Parts⁩یش بەتاڵی ئامادە پێشکەش دەکات (بۆ نموونە ڕێکخستنی یان لیست) — بەسوودە کاتێک پێش دەزانیت چ ڕووخسارێکت دەوێت.

Quick checkپشکنینی خێراYou want an empty form and the Field List, while seeing real data as you arrange it. Which button? بەتاڵ و ⁦Field List⁩ـت دەوێت و دەتەوێت لە کاتی ڕێکخستندا ڕاستەقینە ببینیت. کام ؟

One click: the Form tool and the three viewsیەک کلیک: ئامرازی Form و سێ پیشاندانەکە

  1. In the Navigation Pane click the Student table (do not open it).

    لە لە Student بکە (مەیکەرەوە).

  2. Create → Forms → Form. Access builds a form with every Student field and shows it in Layout view, one student at a time.

    Create → Forms → Form. Access بە هەموو Student دروست دەکات و لە ⁦Layout view⁩ پیشانی دەدات، هەر جارە قوتابییەک.

  3. Because Enrolment is related to Student one-to-many, Access also puts a datasheet of the student's enrolments at the bottom. Keep it for now (subforms are explained below) or click it and press Delete.

    چونکە Enrolment بە بە Studentـەوە بەستراوە، Access تۆمارکردنەکانی قوتابییەکەش لە خوارەوە دادەنێت. ئێستا بیهێڵەوە ( لە خوارەوە ڕوون دەکرێنەوە) یان لێ بکە و Delete دابگرە.

  4. Ctrl+S → name it frmStudent → OK.

    ⁦Ctrl+S⁩ ← ناوی بنێ frmStudent ← OK.

  • Split Form (More Forms) shows the same records twice — a form on top, a datasheet below; click a row below and the form jumps to it.
  • Multiple Items shows many records, one per row, but each row can hold buttons and pictures that a datasheet cannot.
  • Delete a form: select it in the Navigation Pane → Home → Records → Delete → Yes. It is gone for good, but the table data is untouched.
  • ⁦Split Form⁩ ⁦(More Forms)⁩ هەمان دوو جار پیشان دەدات — لە سەرەوە، لە خوارەوە؛ لە ڕیزێکی خوارەوە بکە و بازی بۆ دەدات.
  • ⁦Multiple Items⁩ زۆر پیشان دەدات، بۆ هەر یەکێک ڕیزێک، بەڵام هەر ڕیزێک دەتوانێت و وێنەی تێدا بێت کە ناتوانێت.
  • سڕینەوەی : لە هەڵیبژێرە ← Home → Records → Delete → Yes. بۆ هەمیشە دەڕوات، بەڵام دەستی لێ نادرێت.
Quick checkپشکنینی خێراThe Form tool put a datasheet of enrolments at the bottom of frmStudent. Why?ئامرازی Form تۆمارکردنەکانی لە خوارەوەی frmStudent دانا. بۆچی؟

How to use Microsoft Access - Beginner TutorialKevin Stratvert · Englishئینگلیزی · 4.9M viewsبینین · 96K likesلایک · Partبەشی 19:25–22:12 (ofلە 31:06)

Building a real table in Microsoft Access: fields are the columns, records are the rows, and a key field identifies each record.

ڕاستەقینە لە ⁦Microsoft Access⁩ دروست دەکرێت: دادەنرێن، دەبنە و وەک هەر لەوانی تر جیا دەکاتەوە.

Plays 19:25-22:12 (chapter 'Forms'): one click on Create > Form builds a form for Customers; because of the relationship it shows the customer's orders in a subform.

لە ⁦19:25⁩ تا ⁦22:12⁩ پەخش دەبێت (بەشی Forms): بە یەک لەسەر Create، پاشان Form، بۆ Customers دروست دەبێت؛ بەهۆی فەرمایشتەکانی کڕیارەکە لە پیشان دەدات.

One click: the Form tool and the three viewsیەک کلیک: ئامرازی Form و سێ پیشاندانەکە

Form, Layout and Design view⁦Form view⁩، ⁦Layout view⁩ و پیشاندانی Design

The three views of a form (switch with Home → View or the status-bar buttons)سێ (بە Home → View یان بیانگۆڕە)
ViewWhat it is forبۆ چییەData shown? پیشان دەدرێت؟
Form viewusing the form: read, type, browse recordsبەکارهێنانی : خوێندنەوە، نووسین، گەڕان بە ناو yes, and you can change itبەڵێ، دەتوانیت بیگۆڕیت
Layout viewarranging: resize and move controls, add fields, apply a theme — while you see real dataڕێکخستن: گۆڕینی قەبارە و جێی ، زیادکردنی ، — لە کاتێکدا ڕاستەقینە دەبینیتyes, but you cannot type in itبەڵێ، بەڵام ناتوانیت تێیدا بنووسیت
Design viewevery detail: the form's sections and every propertyهەموو وردەکارییەک: بەشەکانی و هەموو تایبەتمەندییەکno — controls show field namesنەخێر — ناوی پیشان دەدەن
Quick checkپشکنینی خێراIn which view can you type a new phone number for Lana?لە کام دەتوانیت ژمارەی تەلەفۆنی نوێ بۆ لانا بنووسیت؟

The Form Wizard and form layouts⁦Form Wizard⁩ و ڕێکخستنی فۆرم

  1. Create → Forms → Form Wizard. In Tables/Queries choose Student; move fields with > or all of them with >>. Next.

    Create → Forms ← ⁦Form Wizard⁩. لە ⁦Tables/Queries⁩ـدا Student هەڵبژێرە؛ بە > یان هەموویان بە >> بگوازەرەوە. Next.

  2. Choose a layout (see the table). Next.

    ڕێکخستنێک هەڵبژێرە (بڕوانە خشتەکە). Next.

  3. Type a title, keep Open the form to view or enter information → Finish.

    ناونیشانێک بنووسە، ⁦Open the form to view or enter information⁩ بهێڵەوە ← Finish.

A form's layout decides how its controls and data are placed on the screen:

ڕێکخستنی دیاری دەکات و چۆن لەسەر شاشە دادەنرێن:

LayoutڕێکخستنHow it looksچۆن دەردەکەوێتGood forباشە بۆ
Columnarone record; fields one under another, labels on the leftیەک ؛ یەک لە ژێر یەک، نووسینەکان لە لای چەپtyping one student at a timeنووسینی هەر جارە قوتابییەک
Tabularseveral records, one per row, labels as column titlesچەند ، بۆ هەر یەکێک ڕیزێک، نووسینەکان وەک سەردێڕی ستوونshort records such as courses کورت، وەک وانەکان
Datasheetrows and columns like a tableڕیز و ستوون وەک quick lists; subformsلیستی خێرا؛
Justifiedone record; fields side by side in rows, labels above themیەک ؛ لە تەنیشت یەک لە چەند ڕیزێکدا، نووسینەکان لە سەرەوەیانmany short fields on one screenزۆر کورت لەسەر یەک شاشە

A "New student" form. Make a Columnar form on Student called frmNewStudent. Open it in Design view, press F4 for the Property Sheet, choose Form at the top and set Data → Data Entry = Yes. Now the form opens on an empty record: staff can add students but cannot scroll through the existing ones.

«قوتابیی نوێ». Columnar لەسەر Student بە ناوی frmNewStudent دروست بکە. لە بیکەرەوە، ⁦F4⁩ دابگرە بۆ ⁦Property Sheet⁩، لە سەرەوە Form هەڵبژێرە و Data ← ⁦Data Entry = Yes⁩ دابنێ. ئێستا لەسەر بەتاڵ دەکرێتەوە: فەرمانبەران دەتوانن قوتابی زیاد بکەن بەڵام ناتوانن بە ناو قوتابییە هەبووەکاندا بگەڕێن.

Quick checkپشکنینی خێراWhich form layout shows several records, one per row, with the labels as column titles?کام ڕێکخستنی چەند پیشان دەدات، بۆ هەر یەکێک ڕیزێک، بە نووسینەکان وەک سەردێڕی ستوون؟

Blank Form, Form Design and the Field List⁦Blank Form⁩، ⁦Form Design⁩ و ⁦Field List⁩

The Field List is a small pane that lists the fields of your tables; you build a form by bringing fields from it. Two ways to start from nothing:

⁦Field List⁩ بچووکە کە لیست دەکات؛ بە هێنانی لێیەوە دروست دەکەیت. دوو ڕێگا بۆ دەستپێکردن لە هیچەوە:

  1. Blank Form (Layout view): Create → Blank Form. In the Field List click Show all tables, expand Course with its + sign and double-click Title, Stage and FeeIQD. Each field arrives with its label. Save as frmCourseCard.

    ⁦Blank Form (Layout view)⁩: Create ← ⁦Blank Form⁩. لە ⁦Field List⁩ـدا لە ⁦Show all tables⁩ بکە، Course بە نیشانەی +ـەکەی بکەرەوە و لە Title، Stage و FeeIQD بکە. هەر لەگەڵ نووسینەکەی دێت. وەک frmCourseCard پاشەکەوتی بکە.

  2. Form Design (Design view): Create → Form Design gives an empty Detail section. Form Design → Tools → Add Existing Fields opens the Field List; drag CourseCode, Title and FeeIQD onto the grid.

    ⁦Form Design⁩ (): Create ← ⁦Form Design⁩ بەشێکی Detailـی بەتاڵ دەدات. ⁦Form Design⁩ ← Tools ← ⁦Add Existing Fields⁩ ⁦Field List⁩ دەکاتەوە؛ CourseCode، Title و FeeIQD ڕابکێشە سەر تۆڕەکە.

  3. Home → View → Form View to try it: the controls now show IT11, Database Fundamentals, 450,000 IQD …

    Home → View ← ⁦Form View⁩ بۆ تاقیکردنەوە: ئێستا ⁦IT11⁩، ⁦Database Fundamentals⁩، ⁦450,000 IQD⁩ … پیشان دەدەن.

The first field you add also sets the form's record source (here Course). If you later add a field from a second table, Access changes the record source into a query that joins both tables — through the relationship of lesson 5.

یەکەم کە زیادی دەکەیت سەرچاوەی دیاری دەکات (لێرەدا Course). ئەگەر دواتر لە دووەمەوە زیاد بکەیت، Access سەرچاوەکە دەگۆڕێت بۆ کە هەردوو دەبەستێتەوە — بە وانەی 5.

Quick checkپشکنینی خێراIn Design view the Field List is closed. How do you open it?لە ⁦Field List⁩ داخراوە. چۆن دەیکەیتەوە؟

23. Form Part 02Kurdistan College · Kurdish (Sorani)کوردی (سۆرانی) · 3.2K viewsبینین · 99 likesلایک · Partبەشی 0:45–9:34 (ofلە 9:34)

Kurdish: a form started from Form Design, fields dragged from the Field List, colours from the Property Sheet, then tried in Form view.

بە کوردی: لە ⁦Form Design⁩ـەوە دەست پێدەکرێت، لە ⁦Field List⁩ـەوە ڕادەکێشرێن و ڕەنگ لە ⁦Property Sheet⁩ـەوە، پاشان لە ⁦Form view⁩ تاقی دەکرێتەوە.

Kurdish (Sorani), plays 0:45 to the end: Create > Form Design, fields dragged from the Field List, colours from the Property Sheet, then Form view with a photo field.

بە کوردیی سۆرانی، لە ⁦0:45⁩ تا کۆتایی پەخش دەبێت: Create، پاشان ⁦Form Design⁩؛ لە ⁦Field List⁩ـەوە ڕادەکێشرێن و ڕەنگ لە ⁦Property Sheet⁩ـەوە، پاشان ⁦Form view⁩ لەگەڵ وێنە.

Sections, the Property Sheet and themesبەشەکان، ⁦Property Sheet⁩ و تێمەکان

In Design view a form is made of sections: the Form Header (top: title, logo, date), the Detail section (repeats for each record: the bound controls) and the Form Footer (bottom: totals, buttons). Page Header and Page Footer appear only when a form is printed. Layout view hides these section bars:

لە لە بەشەکان دروست بووە: ⁦Form Header⁩ (سەرەوە: ناونیشان، لۆگۆ، ڕێکەوت)، بەشی Detail (بۆ هەر دووبارە دەبێتەوە: بەستراو) و ⁦Form Footer⁩ (خوارەوە: کۆ، ). ⁦Page Header⁩ و ⁦Page Footer⁩ تەنها کاتی چاپکردنی دەردەکەون. ⁦Layout view⁩ ئەم شریتی بەشانە دەشارێتەوە:

Two panels of frmStudent. Left, Layout view: the title Student, a dotted layout grid around the labels and boxes, and real data — StudentID 1, StudentName Aram, Department IT, City Sulaimani — and the note: you see real data and can resize controls, but sections are hidden. Right, Design view: three grey section bars Form Header, Detail and Form Footer; the header holds the title label; the Detail section holds labels and text boxes that show field names (StudentID, StudentName, Department, City) instead of data; the footer holds a text box =Count(*). Note: sections and every property, but no data.دوو بەشی frmStudent. چەپ، Layout view: ناونیشانی Student، تۆڕێکی خاڵخاڵ بە دەوری نووسین و سندووقەکاندا و دراوەیەکی ڕاستەقینە — StudentID 1، StudentName Aram، Department IT، City Sulaimani — و تێبینی: دراوەیەکی ڕاستەقینە دەبینیت و دەتوانیت قەبارەی کۆنترۆڵەکان بگۆڕیت، بەڵام بەشەکان شاراوەن. ڕاست، پیشاندانی Design: سێ شریتی خۆڵەمێشی بەشەکان Form Header، Detail و Form Footer؛ سەرەوە نووسینی ناونیشانی تێدایە؛ بەشی Detail نووسین و سندووقی تێدایە کە ناوی ستوونەکان پیشان دەدەن (StudentID، StudentName، Department، City) نەک دراوە؛ خوارەوە سندووقێکی =Count(*)ـی تێدایە. تێبینی: بەشەکان و هەموو تایبەتمەندییەک، بەڵام هیچ دراوە.
The same form in Layout view and in Design viewهەمان لە ⁦Layout view⁩ و لە CêIT
Quick checkپشکنینی خێراWhich section of a form repeats for every record?کام بەشی بۆ هەر دووبارە دەبێتەوە؟

Sections, the Property Sheet and themesبەشەکان، ⁦Property Sheet⁩ و تێمەکان

The Property Sheet, pictures and themes⁦Property Sheet⁩، وێنە و تێمەکان

  • Property Sheet (F4, or Form Design → Tools → Property Sheet): pick Form, a section or a control at the top; the tabs are Format, Data, Event, Other and All.
  • Header items: Form Design → Header/Footer → Title, Logo and Date and Time (tick the date and time formats you want).
  • A picture: Form Design → Controls → Insert Image; its Size Mode property (Format tab) decides whether a big picture is Clipped, Stretched or Zoomed to fit.
  • A form as a window: on the form's Property Sheet set Pop Up = Yes (it floats above Access), Record Selectors = No and Navigation Buttons = No (the record bar disappears — then give the form your own buttons).
  • Themes: in Layout view, Form Layout Design → Themes. A theme changes the colours and fonts of every form and report in the database at once — the Office idea explained in themes.
  • ⁦Property Sheet⁩ (⁦F4⁩، یان ⁦Form Design⁩ ← Tools ← ⁦Property Sheet⁩): لە سەرەوە Form، بەشێک یان هەڵبژێرە؛ تابەکان Format، Data، Event، Other و Allـن.
  • بابەتەکانی سەرەوە: ⁦Form Design⁩ ← ⁦Header/Footer⁩ ← Title، Logo و ⁦Date and Time⁩ (ئەو شێوانەی ڕێکەوت و کاتی دەتەوێت نیشان بکە).
  • وێنە: ⁦Form Design⁩ ← Controls ← ⁦Insert Image⁩؛ تایبەتمەندیی ⁦Size Mode⁩ (تابی Format) دیاری دەکات وێنەیەکی گەورە Clip بکرێت، Stretch بکرێت یان Zoom بکرێت بۆ ئەوەی جێی ببێتەوە.
  • وەک : لە ⁦Property Sheet⁩ـی ⁦Pop Up = Yes⁩ دابنێ (لە سەر Access دەمێنێتەوە)، ⁦Record Selectors = No⁩ و ⁦Navigation Buttons = No⁩ (شریتی نامێنێت — ئینجا خۆت بدە بە ).
  • : لە ⁦Layout view⁩، ⁦Form Layout Design⁩ ← Themes. ڕەنگ و فۆنتی هەموو و لە پێکەوە دەگۆڕێت — بیرۆکەی Office کە لە تێمەکان ڕوون کراوەتەوە.
Quick checkپشکنینی خێراYou apply the Integral theme to frmStudent. What else changes? Integral لەسەر frmStudent دادەنێیت. چی تر دەگۆڕێت؟

Controls: bound, unbound and calculatedکۆنترۆڵەکان: بەستراو، نەبەستراو و ژمێردراو

Every belongs to one of three kinds, decided by its Control Source property (Data tab):

هەموو سەر بە یەکێک لە سێ جۆرە، کە تایبەتمەندیی ⁦Control Source⁩ (تابی Data) دیاری دەکات:

KindجۆرControl SourceExample on our formsنموونە لە
Bound — shows and saves a fieldبەستراو — پیشان دەدات و پاشەکەوتی دەکاتa field nameناوی the text box for StudentName; the Married check box⁦Text Box⁩ـی StudentName؛ چوارگۆشەی Married
Unbound — fixed contentنەبەستراو — ناوەڕۆکی جێگیرemptyبەتاڵthe title label, a line, the logoنووسینی ناونیشان، هێڵێک، لۆگۆ
Calculated — shows a result, saves nothingژمێردراو — ئەنجامێک پیشان دەدات، هیچ پاشەکەوت ناکاتan expression that starts with = کە بە = دەست پێدەکات=[StudentName] & " – " & [City] → Aram – Sulaimani; =Sum([FeeIQD])=[StudentName] & " – " & [City] ← ⁦Aram – Sulaimani⁩؛ =Sum([FeeIQD])
A mock-up of frmStudentEnrolments in Form view for Aram. Form Header: a logo square, the title Students and their courses (unbound label), today's date 24/10/2026, and a Find student combo box. Detail: labels with bound text boxes StudentID 1, StudentName Aram, City Sulaimani; a Department combo box showing IT (bound); a Married check box, not ticked (bound). A subform control showing Aram's enrolments as a datasheet: IT11 Database Fundamentals, 14/09/2026, mark 78, 450,000 IQD; IT12 Access Lab, 14/09/2026, mark 85, 300,000 IQD. Form Footer: a calculated text box Total fees 750,000 IQD with the expression =[sfrmEnrolment].[Form]![txtTotalFees]. At the bottom the record navigation bar shows Record 1 of 9. Callouts name each kind: unbound label, bound text box, bound combo box, bound check box, subform control, calculated control, navigation buttons.وێنەیەکی frmStudentEnrolments لە Form view بۆ ئارام. Form Header: چوارگۆشەیەکی لۆگۆ، ناونیشانی Students and their courses (لەیبڵی نەبەستراو)، ڕێکەوتی ئەمڕۆ 24/10/2026 و Combo Boxـی Find student. Detail: نووسینەکان لەگەڵ Text Boxـی بەستراو StudentID 1، StudentName Aram، City Sulaimani؛ Combo Boxـی Department کە IT پیشان دەدات (بەستراو)؛ Check Boxـی Married، نیشان نەکراو (بەستراو). کۆنترۆڵێکی ژێرفۆرم کە تۆمارکردنەکانی ئارام وەک پەڕەی دراوە پیشان دەدات: IT11 Database Fundamentals، 14/09/2026، نمرە 78، 450,000 IQD؛ IT12 Access Lab، 14/09/2026، نمرە 85، 300,000 IQD. Form Footer: Text Boxـی ژمێردراوی Total fees 750,000 IQD بە دەربڕینی =[sfrmEnrolment].[Form]![txtTotalFees]. لە خوارەوە شریتی ڕێنیشاندانی تۆمار Record 1 of 9 پیشان دەدات. تێبینییەکان ناوی هەر جۆرێک دەڵێن: لەیبڵی نەبەستراو، Text Boxـی بەستراو، Combo Boxـی بەستراو، Check Boxـی بەستراو، کۆنترۆڵی ژێرفۆرم، کۆنترۆڵی ژمێردراو، دوگمەکانی ڕێنیشاندان.
frmStudentEnrolments: every control is bound, unbound or calculatedfrmStudentEnrolments: هەموو بەستراو، نەبەستراو یان ژمێردراوەCêIT
Quick checkپشکنینی خێراA text box has the Control Source =Date(). What kind of control is it?⁦Text Box⁩ـێک ⁦Control Source⁩ـی =Date()ـە. چ جۆرە ؟

Controls: bound, unbound and calculatedکۆنترۆڵەکان: بەستراو، نەبەستراو و ژمێردراو

Kinds of control, tab order and coloursجۆرەکانی کۆنترۆڵ، ڕیزبەندیی Tab و ڕەنگ

  • Kinds of control (Form Design → Controls): Text Box, Label, Combo Box (a list you can also type in — Department), List Box, Check Box (Married), Option Group, Button, Image, Tab Control, Subform/Subreport. The same controls are used on reports (lesson 8).
  • Tab order: the order the Tab key moves through the controls. Form Design → Tools → Tab Order → Auto Order (top to bottom, left to right), or drag the rows.
  • Conditional formatting: select the Mark control → Format → Conditional Formatting → New Rule → Field Value Is less than 50 → red text. Hana's 47 shows red.
  • A control can have its own Validation Rule, but it works only in that form. A rule on the table field (lesson 4) protects the data everywhere — prefer it.
  • جۆرەکانی (⁦Form Design⁩ ← ⁦Controls): Text Box⁩، Label، ⁦Combo Box⁩ (لیستێک کە دەتوانیت تێیدا بنووسیتیش — Department)، ⁦List Box⁩، ⁦Check Box (Married)⁩، ⁦Option Group⁩، Button، Image، ⁦Tab Control⁩، ⁦Subform/Subreport⁩. هەمان لە بەکاردێن (وانەی 8).
  • ڕیزبەندیی Tab: ئەو ڕیزبەندییەی Tab پێی بە ناو دەڕوات. ⁦Form Design⁩ ← Tools ← ⁦Tab Order⁩ ← ⁦Auto Order⁩ (لە سەرەوە بۆ خوارەوە، لە چەپەوە بۆ ڕاست)، یان ڕیزەکان ڕابکێشە.
  • : Mark هەڵبژێرە ← Format ← ⁦Conditional Formatting⁩ ← ⁦New Rule⁩ ← ⁦Field Value Is⁩ ⁦less than⁩ ⁦50⁩ ← دەقی سوور. ⁦47⁩ـی هانا بە سوور دەردەکەوێت.
  • دەتوانێت خۆی هەبێت، بەڵام تەنها لەو کار دەکات. ڕێسایەک لەسەر (وانەی 4) لە هەموو شوێنێک دەپارێزێت — ئەوە باشترە.
Quick checkپشکنینی خێراMarks below 50 must show in red on the form. What do you use?نمرەی کەمتر لە ⁦50⁩ دەبێت لەسەر بە سوور دەربکەوێت. چی بەکاردەهێنیت؟

Sort and filter in Form view, and Filter by Formڕیزکردن و فلتەر لە ⁦Form view⁩ و ⁦Filter by Form⁩

A form shows one record at a time, so sorting and filtering decide which student you see next. In Form view of frmStudent:

هەر جارە یەک پیشان دەدات، بۆیە و دیاری دەکەن کام قوتابی دواتر دەبینیت. لە ⁦Form view⁩ـی frmStudent:

  • Sort: right-click in StudentName → Sort A to Z (in a number field: Sort Smallest to Largest). The record buttons ◀ ▶ now go Aram, Dilan, Hana, Hana, Karwan … Home → Sort & Filter → Remove Sort goes back to key order.
  • Common filters combine (AND): right-click Department → Text Filters → Equals… IT → 4 records; then right-click Age → Number Filters → Less Than… 30 → 2 records (Aram 28, Dilan 29). The record bar says Filtered.
  • Toggle Filter switches the filter off and on; Advanced → Clear All Filters removes them.
  • : ڕاست لە StudentName ← ⁦Sort A to Z⁩ (لە ژمارەدا: ⁦Sort Smallest to Largest⁩). ئێستا ◀ ▶ بەم ڕیزەیە دەڕۆن: Aram، Dilan، Hana، Hana، Karwan … Home ← ⁦Sort & Filter⁩ ← ⁦Remove Sort⁩ دەگەڕێتەوە بۆ ڕیزبەندیی .
  • باو پێکەوە دەبەسترێن ⁦(AND)⁩: ڕاست لە Department → ⁦Text Filters⁩ → Equals… IT → 4 ؛ پاشان ڕاست لە Age → ⁦Number Filters⁩ → ⁦Less Than⁩… ⁦30⁩ → 2 (ئارام ⁦28⁩، دیلان ⁦29⁩). شریتی دەڵێت Filtered.
  • ⁦Toggle Filter⁩ دەکوژێنێتەوە و دایدەگیرسێنێتەوە؛ Advanced ← ⁦Clear All Filters⁩ هەموویان لادەبات.
Quick checkپشکنینی خێراYou filter Department = IT, then Age less than 30. How many records are left? ⁦Department = IT⁩ دەکەیت، پاشان Age کەمتر لە ⁦30⁩. چەند دەمێنێتەوە؟

Sort and filter in Form view, and Filter by Formڕیزکردن و فلتەر لە ⁦Form view⁩ و ⁦Filter by Form⁩

Filter by Form: OR on a second tab⁦Filter by Form: OR⁩ لە تابی دووەمدا

Filter by Form⁦Filter by Form⁩ هەنگاو بە هەنگاو
  1. Home → Sort & Filter → Advanced → Filter By Form. The form turns into an empty copy of itself; every box becomes a list of its values.

    Home → ⁦Sort & Filter⁩ → Advanced ← ⁦Filter By Form⁩. دەبێتە کۆپییەکی بەتاڵی خۆی؛ هەر سندووقێک دەبێتە لیستێکی نرخەکانی.

  2. In City choose Erbil. At the bottom click the Or tab — a second empty copy — and choose Duhok in City.

    لە City Erbil هەڵبژێرە. لە خوارەوە لە تابی Or بکە — کۆپییەکی بەتاڵی دووەم — و لە City Duhok هەڵبژێرە.

  3. Toggle Filter: three records — Shilan, Dilan, Soran. Values on one tab must all match (AND); each Or tab is another possibility (OR), exactly like the Criteria and or rows of a query.

    ⁦Toggle Filter⁩: سێ — شیلان، دیلان، سۆران. نرخەکانی سەر یەک تاب دەبێت هەموویان هاوتا بن ⁦(AND)⁩؛ هەر تابێکی Or ئەگەرێکی ترە ⁦(OR)⁩، ڕێک وەک ڕیزەکانی Criteria و orـی پرسێک.

A filter you use often deserves a name: Advanced → Save As Query keeps it (questions as queries shows the English for such questions).

کە زۆر بەکاری دەهێنیت شایەنی ناوێکە: Advanced ← ⁦Save As Query⁩ هەڵیدەگرێت (پرسیار وەک پرس ئینگلیزییەکەی ئەم جۆرە پرسیارانە پیشان دەدات).

Quick checkپشکنینی خێراIn Filter by Form you choose City = Erbil on the first tab and Department = IT on the Or tab. Who is shown?لە ⁦Filter by Form⁩ لە تابی یەکەم ⁦City = Erbil⁩ و لە تابی ⁦Or Department = IT⁩ هەڵدەبژێریت. کێ پیشان دەدرێت؟

A main form with a subformفۆرمی سەرەکی لەگەڵ ژێرفۆرمێک

One student has many enrolments. A main form shows the student; a inside it lists that student's enrolments. When you move to the next student, the subform follows. This needs the Student 1–∞ Enrolment relationship of lesson 5 — make relationships first.

یەک قوتابی چەند تۆمارکردنێکی هەیە. سەرەکی قوتابییەکە پیشان دەدات؛ ـێک لە ناویدا تۆمارکردنەکانی ئەو قوتابییە لیست دەکات. کاتێک دەچیتە سەر قوتابیی دواتر، بەدوایدا دێت. ئەمە پێویستی بە ⁦Student 1⁩–∞ Enrolmentـی وانەی 5 هەیە — سەرەتا دروست بکە.

  1. Create → Form Wizard. From Table: Student add StudentID, StudentName, Department and City; from Table: Enrolment add CourseCode, EnrolDate and Mark; from Table: Course add Title and FeeIQD. Next.

    Create ← ⁦Form Wizard⁩. لە ⁦Table: Student⁩ـەوە StudentID، StudentName، Department و City زیاد بکە؛ لە ⁦Table: Enrolment⁩ـەوە CourseCode، EnrolDate و Mark؛ لە ⁦Table: Course⁩ـەوە Title و ⁦FeeIQD. Next⁩.

  2. How do you want to view your data? → by Student → Form with subform(s). Next.

    لە ⁦How do you want to view your data?⁩ ⁦by Student⁩ و پاشان ⁦Form with subform(s)⁩ هەڵبژێرە. Next.

  3. Subform layout Datasheet. Next. Titles: frmStudentEnrolments and sfrmEnrolment → Finish. Access saves two forms.

    ڕێکخستنی Datasheet. Next. ناونیشانەکان: frmStudentEnrolments و sfrmEnrolment ← ⁦Finish. Access⁩ دوو پاشەکەوت دەکات.

In Design view the subform sits in a Subform/Subreport control. Its properties Link Master Fields = StudentID (on the main form) and Link Child Fields = StudentID (in the subform) keep the two in step.

لە لە ناو ⁦Subform/Subreport⁩ـدایە. تایبەتمەندییەکانی ⁦Link Master Fields⁩ = StudentID (لەسەر سەرەکی) و ⁦Link Child Fields⁩ = StudentID (لە ) هەردووکیان هاوکات ڕادەگرن.

Quick checkپشکنینی خێراfrmStudentEnrolments shows Shilan, but the subform lists all eleven enrolments. What is most likely wrong?frmStudentEnrolments شیلان پیشان دەدات، بەڵام هەموو یازدە تۆمارکردنەکە لیست دەکات. ئەگەری هەرە زۆر چی هەڵەیە؟

A main form with a subformفۆرمی سەرەکی لەگەڵ ژێرفۆرمێک

A total from the subformکۆیەک لە ژێرفۆرمەوە

A total in the main form. Open sfrmEnrolment in Design view and add a text box named txtTotalFees to its Form Footer with the Control Source =Sum([FeeIQD]) (a datasheet does not show its footer, so the main form shows the value). On the main form add a text box labelled Total fees with =[sfrmEnrolment].[Form]![txtTotalFees] and the Format #,##0 "IQD". Aram shows 750,000 IQD, Shilan 950,000 IQD; Rezan's box stays empty because he has no courses. After you type a new enrolment in the subform, the total changes when the record is saved — move to another row first.

کۆیەک لە سەرەکیدا. sfrmEnrolment لە بکەرەوە و ⁦Text Box⁩ـێک بە ناوی txtTotalFees بە ⁦Control Source⁩ـی =Sum([FeeIQD]) بۆ ⁦Form Footer⁩ـەکەی زیاد بکە ( ژێرەوەی خۆی پیشان نادات، بۆیە سەرەکی نرخەکە پیشان دەدات). لەسەر سەرەکی ⁦Text Box⁩ـێک بە نووسینی ⁦Total fees⁩ و =[sfrmEnrolment].[Form]![txtTotalFees] و Formatـی #,##0 "IQD" زیاد بکە. ئارام ⁦750,000 IQD⁩ پیشان دەدات، شیلان ⁦950,000 IQD⁩؛ سندووقی ڕێزان بەتاڵ دەمێنێتەوە چونکە هیچ وانەیەکی نییە. دوای نووسینی تۆمارکردنێکی نوێ لە ، کۆکە کاتێک دەگۆڕێت کە پاشەکەوت دەکرێت — سەرەتا بچۆ سەر ڕیزێکی تر.

Six frames of frmStudentEnrolments. 1: record 1 of 9, Aram; the subform lists IT11 (mark 78, 450,000 IQD) and IT12 (mark 85, 300,000 IQD); Total fees 750,000 IQD. 2: the Next record button is clicked. 3: record 2, Shilan: CS21 (91, 500,000) and IT11 (66, 450,000); total 950,000 IQD. 4: the Find student combo box is opened and Dilan is chosen. 5: record 4, Dilan: IT11 (59) and IT12 (88); total 750,000 IQD. 6: on a practice copy a new row CS21 is typed in Dilan's subform; the total becomes 1,250,000 IQD and a small inset of the Enrolment table shows the new row 12 for StudentID 4.
Six frames of frmStudentEnrolments. 1: record 1 of 9, Aram; the subform lists IT11 (mark 78, 450,000 IQD) and IT12 (mark 85, 300,000 IQD); Total fees 750,000 IQD. 2: the Next record button is clicked. 3: record 2, Shilan: CS21 (91, 500,000) and IT11 (66, 450,000); total 950,000 IQD. 4: the Find student combo box is opened and Dilan is chosen. 5: record 4, Dilan: IT11 (59) and IT12 (88); total 750,000 IQD. 6: on a practice copy a new row CS21 is typed in Dilan's subform; the total becomes 1,250,000 IQD and a small inset of the Enrolment table shows the new row 12 for StudentID 4.
A main form with its subform: the subform and the total follow the student سەرەکی لەگەڵ : و کۆکە بەدوای قوتابییەکەدا دێنCêIT
Quick checkپشکنینی خێراOn frmStudentEnrolments the Total fees box of Rezan stays empty. Why?لەسەر frmStudentEnrolments سندووقی ⁦Total fees⁩ـی ڕێزان بەتاڵ دەمێنێتەوە. بۆچی؟

Find a record with a combo boxدۆزینەوەی تۆمار بە ⁦Combo Box⁩

With nine students the ◀ ▶ buttons are fine; with nine hundred you need a search box. A combo box can jump to a record:

بە نۆ قوتابی ◀ ▶ بەسن؛ بە نۆ سەد قوتابی پێویستت بە سندووقی گەڕان دەبێت. ⁦Combo Box⁩ دەتوانێت باز بدات بۆ :

  1. Open frmStudentEnrolments in Design view. On Form Design → Controls make sure Use Control Wizards is on, choose Combo Box and click in the Form Header.

    frmStudentEnrolments لە بکەرەوە. لە ⁦Form Design⁩ ← Controls دڵنیابە ⁦Use Control Wizards⁩ کارایە، ⁦Combo Box⁩ هەڵبژێرە و لە ⁦Form Header⁩ بکە.

  2. Choose Find a record on my form based on the value I selected in my combo box — the wizard offers it only on a bound form.

    ⁦Find a record on my form based on the value I selected in my combo box⁩ هەڵبژێرە — تەنها لەسەر بەستراو پێشکەشی دەکات.

  3. Pick StudentID, StudentName and City; keep Hide key column. Showing City matters: the list now says Hana — Zakho and Hana — Koya, so the user picks the right Hana.

    StudentID، StudentName و City هەڵبژێرە؛ ⁦Hide key column⁩ بهێڵەوە. پیشاندانی City گرنگە: ئێستا لیستەکە دەڵێت ⁦Hana — Zakho⁩ و ⁦Hana — Koya⁩، بۆیە هانای دروست هەڵدەبژێرێت.

  4. Label it Find student → Finish → Form view. Choose Dilan: the form jumps to record 4 and the subform shows his courses.

    ناوی بنێ ⁦Find student⁩ ← Finish ← ⁦Form view⁩. دیلان هەڵبژێرە: باز دەدات بۆ 4 و وانەکانی پیشان دەدات.

The combo box is unbound: choosing a name moves to another record and changes no data. Behind it the wizard stores a small in the combo box's After Update event.

⁦Combo Box⁩ـەکە نەبەستراوە: هەڵبژاردنی ناوێک دەچێتە سەر تر و هیچ ناگۆڕێت. لە پشتیەوە بچووک لە ڕووداوی ⁦After Update⁩ـی ⁦Combo Box⁩ـەکەدا هەڵدەگرێت.

Quick checkپشکنینی خێراWhy did we let the combo box show City as well as StudentName?بۆچی هێشتمان ⁦Combo Box⁩ـەکە جگە لە StudentName، Cityـیش پیشان بدات؟

Command buttons and embedded macrosدوگمەکانی فەرمان و ماکرۆکانی ناوەکی

With Use Control Wizards on, Form Design → Controls → Button starts the Command Button Wizard. It asks for a category and an action, then text or a picture for the button, then a name:

کاتێک ⁦Use Control Wizards⁩ کارایە، ⁦Form Design⁩ ← Controls → Button ⁦Command Button Wizard⁩ دەست پێدەکات. جۆرێک و کارێک دەپرسێت، پاشان دەق یان وێنەیەک بۆ ، پاشان ناوێک:

CategoryجۆرActions (examples)کارەکان (نموونە)On our formsلەسەر
Record NavigationGo To First / Previous / Next / Last Record, Find Record⁦Go To First / Previous / Next / Last Record⁩، ⁦Find Record⁩◀ ▶ buttons on a form whose navigation bar is hidden ◀ ▶ لەسەر کە شریتی ڕێنیشاندانی شاراوەیە
Record OperationsAdd New Record, Delete Record, Save Record, Undo Record⁦Add New Record⁩، ⁦Delete Record⁩، ⁦Save Record⁩، ⁦Undo Record⁩New student on frmStudent⁦New student⁩ لەسەر frmStudent
Form OperationsOpen Form, Close Form⁦Open Form⁩، ⁦Close Form⁩Courses opens frmCourseCard; Back closes itCourses frmCourseCard دەکاتەوە؛ Back دایدەخات
Report OperationsPreview Report, Print Report⁦Preview Report⁩، ⁦Print Report⁩Print list (lesson 8)⁦Print list⁩ (وانەی ⁦8⁩)
ApplicationQuit ApplicationExit closes AccessExit Access دادەخات
Quick checkپشکنینی خێراIn the Command Button Wizard, which category holds the action that opens frmCourseCard?لە ⁦Command Button Wizard⁩، کام جۆر ئەو کارەی تێدایە کە frmCourseCard دەکاتەوە؟

24. Form Part 03Kurdistan College · Kurdish (Sorani)کوردی (سۆرانی) · 2.7K viewsبینین · 72 likesلایک · Partبەشی 8:15–13:44 (ofلە 13:44)

Kurdish: command buttons made with the Command Button Wizard (form operations, find record) and tried in Form view.

بە کوردی: بە ⁦Command Button Wizard⁩ دروست دەکرێن (⁦Form Operations⁩، ⁦Find Record⁩) و لە ⁦Form view⁩ تاقی دەکرێنەوە.

Kurdish (Sorani), plays 8:15 to the end: the Command Button Wizard's categories and actions, buttons placed on the form, then a Find button opening Find and Replace.

بە کوردیی سۆرانی، لە ⁦8:15⁩ تا کۆتایی پەخش دەبێت: جۆر و کارەکانی ⁦Command Button Wizard⁩، دانانی لەسەر ، پاشان Find کە ⁦Find and Replace⁩ دەکاتەوە.

Command buttons and embedded macrosدوگمەکانی فەرمان و ماکرۆکانی ناوەکی

Embedded macros, not program codeماکرۆکانی ناوەکی، نەک کۆدی بەرنامە

The wizard does not write program code: it stores an embedded in the button's On Click event (Property Sheet → Event shows [Embedded Macro]). A macro is a saved list of actions — OpenForm, CloseWindow, CloseDatabase, QuitAccess — that Access carries out in order (the six object types). A Close Database button, for example, holds the single action CloseDatabase: the database closes and Access stays open. No VBA is needed in this course.

کۆدی نانووسێت: ناوەکی لە ڕووداوی ⁦On Click⁩ـی هەڵدەگرێت (⁦Property Sheet⁩ ← Event پیشان دەدات ⁦[Embedded Macro]⁩). لیستێکی پاشەکەوتکراوی کارەکانە — OpenForm، CloseWindow، CloseDatabase، QuitAccess — کە Access بە ڕیز جێبەجێیان دەکات (شەش جۆرەکەی ئۆبجێکت). بۆ نموونە ⁦Close Database⁩ تەنها کاری CloseDatabase هەڵدەگرێت: دادەخرێت و Access کراوە دەمێنێتەوە. لەم کۆرسەدا هیچ VBAـیەک پێویست نییە.

Quick checkپشکنینی خێراWhere does the Command Button Wizard put the actions of a Close Form button?⁦Command Button Wizard⁩ کارەکانی ⁦Close Form⁩ لە کوێ دادەنێت؟

Practiceڕاهێنان

ExerciseڕاهێنانA data-entry form with the wizardفۆرمێکی تۆمارکردن بە یاریدەدەر

Use the Form Wizard to make a Columnar form on Course. Step through the five courses with the record buttons, add a sixth course BI12 Genetics (Biology, stage 1, Bachelor, 420,000) through the form, then open the Course table. Where is the new course?

⁦Form Wizard⁩ بەکاربهێنە بۆ دروستکردنی Columnar لەسەر Course. بە بە ناو پێنج وانەکەدا بڕۆ، لە ڕێگەی وانەی شەشەم ⁦BI12⁩ Genetics زیاد بکە (Biology، قۆناغی 1، Bachelor، ⁦420,000⁩)، پاشان Course بکەرەوە. وانە نوێیەکە لە کوێیە؟

Show answerوەڵامەکە پیشان بدە
  • ▶* (New record) opens an empty record; type the values and move on — the record is saved.
  • The table now has six rows, sorted by the key: AC11, BI11, BI12, CS21, IT11, IT12. The form wrote into the table; it has no data of its own.
  • Delete BI12 again (on the course form: Home → Records → Delete) so the lab stays as the course uses it.
  • ▶* ⁦(New record)⁩ بەتاڵ دەکاتەوە؛ نرخەکان بنووسە و بڕۆ — پاشەکەوت دەکرێت.
  • ئێستا شەش ڕیزی هەیە، بەپێی ڕیزکراو: ⁦AC11⁩، ⁦BI11⁩، ⁦BI12⁩، ⁦CS21⁩، ⁦IT11⁩، ⁦IT12⁩. لە ناو نووسی؛ هیچ خۆی نییە.
  • ⁦BI12⁩ دووبارە بسڕەوە (لەسەر وانە: Home → Records → Delete) بۆ ئەوەی تاقیگەکە وەک ئەوەی کۆرسەکە بەکاری دەهێنێت بمێنێتەوە.
ExerciseڕاهێنانSkills checklistلیستی کارامەییەکان

On University.accdb: (1) make frmStudent with the Form tool; (2) a Tabular form of Course with the Form Wizard; (3) apply a theme; (4) sort frmStudent by City; (5) filter Department = Biology; (6) with Filter by Form, show the students from Iran or Türkiye. Write down how many records each step shows.

لەسەر ⁦University.accdb: (1) frmStudent⁩ بە ئامرازی Form دروست بکە؛ ⁦(2)⁩ Tabularـی Course بە ⁦Form Wizard⁩؛ ⁦(3)⁩ دابنێ؛ ⁦(4) frmStudent⁩ بەپێی City ڕیز بکە؛ ⁦(5)⁩ ⁦Department = Biology⁩ بکە؛ ⁦(6)⁩ بە ⁦Filter by Form⁩ قوتابیانی Iran یان Türkiye پیشان بدە. بنووسە هەر هەنگاوێک چەند پیشان دەدات.

Show answerوەڵامەکە پیشان بدە
  • (1) 9 records; (2) the 5 courses in rows; (3) all forms change look.
  • (4) Duhok, Erbil, Erbil, Halabja, Kirkuk, Koya, Ranya, Sulaimani, Zakho — 9 records; (5) Karwan and Lana — 2 records.
  • (6) Filter by Form needs CountryID: on the first tab choose Iran (2), on the Or tab Türkiye (3) → Karwan and Dilan — 2 records. (Clear the Biology filter first, or the two filters combine.)
  • ⁦(1) 9⁩ ؛ ⁦(2) 5⁩ وانەکە لە ڕیزدا؛ ⁦(3)⁩ هەموو ڕووخساریان دەگۆڕێت.
  • ⁦(4) Duhok⁩، Erbil، Erbil، Halabja، Kirkuk، Koya، Ranya، Sulaimani، ⁦Zakho — 9⁩ ؛ ⁦(5)⁩ کاروان و لانا — 2 .
  • ⁦(6) Filter by Form⁩ پێویستی بە CountryID هەیە: لە تابی یەکەم ⁦Iran (2)⁩، لە تابی ⁦Or T⁩ü⁦rkiye (3)⁩ هەڵبژێرە ← کاروان و دیلان — 2 . (سەرەتا Biology لابدە، دەنا دوو پێکەوە دەبەسترێن.)
ExerciseڕاهێنانA course form with a subformفۆرمێکی وانە بە ژێرفۆرمێکەوە

Build frmCourseStudents: Course on the main form (CourseCode, Title, FeeIQD) and its enrolled students in a datasheet subform (StudentName from Student, Mark from Enrolment). Which course shows an empty subform?

frmCourseStudents دروست بکە: Course لەسەر سەرەکی (CourseCode، Title، FeeIQD) و قوتابییە تۆمارکراوەکانی لە ⁦Datasheet (StudentName⁩ لە Studentـەوە، Mark لە Enrolmentـەوە). کام وانە بەتاڵ پیشان دەدات؟

Show answerوەڵامەکە پیشان بدە

Form Wizard: Course fields, then Enrolment's Mark and Student's StudentName → by Course → Form with subform(s). AC11 Principles of Accounting has an empty subform: nobody enrolled (the same answer Find Unmatched gave in lesson 6). IT11 shows Aram, Shilan, Dilan and Soran.

⁦Form Wizard⁩: Course، پاشان Markـی Enrolment و StudentNameـی Student ← ⁦by Course⁩ ← ⁦Form with subform(s). AC11 Principles of Accounting⁩ بەتاڵی هەیە: کەس تۆمار نەکراوە (هەمان وەڵام کە ⁦Find Unmatched⁩ لە وانەی 6 دای). ⁦IT11⁩ ئارام، شیلان، دیلان و سۆران پیشان دەدات.

Common mistakesهەڵە باوەکان

MistakeهەڵەWhat to doچی بکەیت
Trying to type data in Layout viewهەوڵدان بۆ نووسینی لە ⁦Layout view⁩Switch to Form view.بچۆ ⁦Form view⁩.
Building a main form and subform before the relationship existsدروستکردنی سەرەکی و پێش بوونی Create the one-to-many relationship first; then the wizard offers by Student.سەرەتا دروست بکە؛ ئینجا ⁦by Student⁩ پێشکەش دەکات.
A subform that shows every record کە هەموو پیشان دەداتSet Link Master Fields and Link Child Fields (StudentID).⁦Link Master Fields⁩ و ⁦Link Child Fields (StudentID)⁩ دابنێ.
Expecting the total to change before the new row is savedچاوەڕوانی گۆڕانی کۆ پێش پاشەکەوتکردنی ڕیزە نوێیەکەMove to another row (or press Shift+Enter) to save it.بچۆ سەر ڕیزێکی تر (یان ⁦Shift+Enter⁩ دابگرە) بۆ پاشەکەوتکردنی.
Putting a validation rule only on a form controlدانانی تەنها لەسەر Put it on the table field so every form and query obeys it.لەسەر دایبنێ بۆ ئەوەی هەموو و گوێڕایەڵی بێت.
A find-combo box that lists two identical "Hana" rows⁦Combo Box⁩ـی گەڕان کە دوو ڕیزی وەک یەکی «Hana» لیست دەکاتShow a second column (City) so users can tell the records apart.ستوونێکی دووەم ⁦(City)⁩ پیشان بدە بۆ ئەوەی بەکارهێنەران لە یەک جیا بکەنەوە.
Buttons that do nothing when clicked کە کاتی هیچ ناکەنThe database is not trusted: Enable Content (lesson 8). متمانەی پێ نەکراوە: ⁦Enable Content⁩ (وانەی 8).

Summaryپوختە

  • A form is an interface made of controls; it enters data, asks for values and navigates. A bound form has a record source, an unbound one does not.
  • Create → Forms: Form, Form Design, Blank Form, Form Wizard, Navigation, More Forms (Multiple Items, Datasheet, Split Form, Modal Dialog).
  • Form view = use, Layout view = arrange with data, Design view = sections and properties; layouts Columnar, Tabular, Datasheet, Justified.
  • Controls are bound (a field), unbound (fixed) or calculated (= expression, such as =Sum([FeeIQD])).
  • Sort, common filters (AND) and Filter by Form with Or tabs work in Form view.
  • A main form + subform needs a one-to-many relationship and is linked by Link Master/Child Fields; a combo box finds records; command buttons hold embedded macros; a navigation form is the main menu.
  • لە پێکهاتووە؛ تۆمار دەکات، نرخ دەپرسێت و ڕێنیشاندان دەکات. بەستراو سەرچاوەی هەیە، نەبەستراو نییەتی.
  • Create → ⁦Forms: Form⁩، ⁦Form Design⁩، ⁦Blank Form⁩، ⁦Form Wizard⁩، Navigation، ⁦More Forms (Multiple Items⁩، Datasheet، ⁦Split Form⁩، ⁦Modal Dialog⁩).
  • ⁦Form view⁩ = بەکارهێنان، ⁦Layout view⁩ = ڕێکخستن لەگەڵ ، = بەشەکان و تایبەتمەندییەکان؛ ڕێکخستنەکانی Columnar، Tabular، Datasheet، Justified.
  • بەستراون ()، نەبەستراون (جێگیر) یان ژمێردراون (= ، وەک =⁦Sum([FeeIQD])⁩).
  • ، باو ⁦(AND)⁩ و ⁦Filter by Form⁩ بە تابی Or لە ⁦Form view⁩ کار دەکەن.
  • سەرەکی + پێویستی بە هەیە و بە ⁦Link Master/Child Fields⁩ دەبەسترێتەوە؛ ⁦Combo Box⁩ دەدۆزێتەوە؛ فەرمان ناوەکی هەڵدەگرن؛ Navigation لیستی سەرەکییە.

Summaryپوختە

Check yourselfخۆت تاقی بکەرەوە

Review questionsپرسیارەکانی پێداچوونەوە
What is the difference between Layout view and Design view?جیاوازیی ⁦Layout view⁩ و پیشاندانی Design چییە؟

Layout view shows real data while you arrange controls; Design view shows the sections and every property but no data.

⁦Layout view⁩ لە کاتی ڕێکخستنی ڕاستەقینە پیشان دەدات؛ بەشەکان و هەموو تایبەتمەندییەک پیشان دەدات بەڵام هیچ .

Which property makes a form open on an empty record only?کام تایبەتمەندی وا دەکات فۆرم تەنها لەسەر تۆمارێکی بەتاڵ بکرێتەوە؟

Data Entry = Yes (Data tab of the form's Property Sheet).

⁦Data Entry = Yes⁩ (تابی Dataـی ⁦Property Sheet⁩ـی ).

What links a subform to its main form?چی ژێرفۆرم بە فۆرمی سەرەکییەکەیەوە دەبەستێتەوە؟

The Link Master Fields and Link Child Fields properties of the subform control, here StudentID ↔ StudentID.

تایبەتمەندییەکانی ⁦Link Master Fields⁩ و ⁦Link Child Fields⁩ـی ، لێرەدا StudentID ↔ StudentID.

Videoڤیدیۆ

Watch a videoسەیری ڤیدیۆیەک بکە

A video that viewers liked a lot and praised in their comments, chosen for this lesson.ڤیدیۆیەک کە بینەران زۆریان پێ خۆش بووە و لە کۆمێنتەکانیاندا ستایشیان کردووە، بۆ ئەم وانەیە هەڵبژێردراوە.

15. Learn Access 2016 Create Forms دروست كردنى فۆرم لە ئەكسێسSiyamand Rashid · Kurdish (Sorani)کوردی (سۆرانی) · 15K viewsبینین · 462 likesلایک

Kurdish: what a form is (a paper order form compared), the kinds of form Access can make, and a customer form shaped in Design view.

بە کوردی: چییە (بە بەراورد لەگەڵ کاغەزیی فەرمایشت)، ئەو جۆرانەی کە Access دروستیان دەکات و کڕیار کە لە ڕێک دەخرێت.

Kurdish (Sorani), whole video (19:50): a paper order form as the idea, then forms built in Access, the Property Sheet and an Add/Edit Customer form in Form view.

بە کوردیی سۆرانی، هەموو ڤیدیۆکە ⁦(19:50)⁩: کاغەزیی فەرمایشت وەک بیرۆکە، پاشان دروستکردنی لە Access، ⁦Property Sheet⁩ و ⁦Add/Edit Customer⁩ لە ⁦Form view⁩.

Lesson complete!وانەکە تەواو بوو!

Well done. Review the key terms, then go on to the next lesson.دەستخۆش. سەیرێکی زاراوە سەرەکییەکان بکەرەوە، پاشان بڕۆ بۆ وانەی داهاتوو.

Key termsزاراوە سەرەکییەکان

Next lessonوانەی داهاتوو

Reports, Import/Export and Database Toolsڕاپۆرتەکان، هێنان/هەناردن و ئامرازەکانی بنکەدراوە

References and further readingسەرچاوەکان و خوێندنەوەی زیاتر

This lecture is a first edition. The Kurdish text and terminology are waiting for review by Kurdish IT teachers.ئەم وانەیە چاپی یەکەمە. دەقە کوردییەکە و زاراوەکانی چاوەڕێی پێداچوونەوەی مامۆستایانی کوردی بواری IT ن.