Variations on databases via the Access Movies database

  1. How do you do a 2nd form, but not allow the user to close the 2nd form? Note that the 2nd form displays a ListBox control that contains all of the movie names.

  2. The (Name) property for the 2nd form is frmMovieTitles (instead of the default name Form2.

  3. What is the ControlBox property used for? The ControlBox property for any Visual Basic Form is TRUE by default.

  4. Pull down the View menu in Visual Basic. What command is needed so that you can set the location where the 2nd Form (frmMovieTitles) appears, when the user decides to invoke it?

  5. What is the name of the method by which the ListBox was able to add the Movie names to itself?

  6. Can you rewrite the Form_Initialize() event code so that it still effectively adds all of the movie names to the ListBox lstMovieTitles, under the following restriction.

    You are NOT allowed to use the datMovieTitles.Recordset.MoveNext method. (You can't use .MoveNext method, but can use anything else you want).

  7. What would happen if you change the code to refer to Fields(1) instead of Fields(0)?


  1. How do you do a 2nd form, but not allow the user to close the 2nd form? Note that the 2nd form displays a ListBox control that contains all of the movie names.

  2. The (Name) property for the 2nd form is frmMovieTitles (instead of the default name Form2.

  3. What is the ControlBox property used for? The ControlBox property for any Visual Basic Form is TRUE by default.

  4. Pull down the View menu in Visual Basic. What command is needed so that you can set the location where the 2nd Form (frmMovieTitles) appears, when the user decides to invoke it?

  5. What is the name of the method by which the ListBox was able to add the Movie names to itself?

  6. Can you rewrite the Form_Initialize() event code so that it still effectively adds all of the movie names to the ListBox lstMovieTitles, under the following restriction.

    You are NOT allowed to use the datMovieTitles.Recordset.MoveNext method. (You can't use .MoveNext method, but can use anything else you want).

  7. What would happen if you change the code to refer to Fields(1) instead of Fields(0)?