This illustration shows a typical Visual Basic form, in designer mode, with the title OleDb Test beside the Visual Basic icon.

There are two command buttons, with captions Get Employee Records by Dept and Get Dept No. for an Employee No. There are no labels and no other controls on the form.