75
Ob‘ektlarni ochish va
yopish
Zakrыt(Close)
OtkrыtFormu(OpenForm)
OtkrыtZapros(OpenQuery)
OtkrыtOtchet(OpenReport)
OtkrыtTablitsu(OpenTable)
Ob‘ektni pechatga
berish
OtkrыtFormu(OpenForm)
OtkrыtZapros(OpenQuery)Otkrыt
Otchet(OpenReport)
Pechat(PrintOut)
Modul Visual Basic tilida yagona dastur ilovalarini tashkil etish uchun
tavsiflash va protseduralar to‘plamidir. Ikki turdagi modullar mavjud: klass va
standart. Ular protsedura-funksiya Function, yoki qism dastur Sub bo‘lishi
mumkin. Forma va otchyot modullari klass modullari deyilib, ular aniq bir forma
yoki otchyot bilan bog‘liq bo‘ladi. Forma va otchyot modullari o‘z ichiga standart
protseduralarni ham olishi mumkin.
Protsedura instruksiya va metodlar to‘plamini o‘z ichiga oladi va ularda
ma‘lum hisoblashlar bajariladi. Masalan, quyidagi protsedura OpenFrom usuli
yordami bilan ―Zakazlar‖ formasini ochib beradi.