Question: Need help writing VBA Code for the following: Create a form that allows the user to select a database (or any file, you do not

Need help writing VBA Code for the following:

Need help writing VBA Code for the following: Create a form that

Create a form that allows the user to select a database (or any file, you do not need to add a filter for file types but you can). and places the name and path of the selected database in the textbox. Also include a listbox on your form and appropriate labels and buttons as shown below: Select Data Filename: Browse output: Cancel Bun Query Tip: Use fd.InitialFi1cNameThisHorkbook.Path to have the dialog box start in the current folder. This makes it easier to find the file and faster for the IAs to mark. Look back to your textbook or the lecture slides if you have problems. Export this form for later use in other projects. (the file box is a TexiBox, the output box is a ListBox) Based on the Sales Orders database, write SQL statements to implement the following query. Attach code to the "Run Query" button so that when the button is clicked, the results of the query are placed in the listbox Find the OrderDate for all the orders placed by the customer with CustomerID For help in creating the queries, look at the Sales Orders: Sample Queries document. You may want to export this form for later use in future projects. 15. Create a form that allows the user to select a database (or any file, you do not need to add a filter for file types but you can). and places the name and path of the selected database in the textbox. Also include a listbox on your form and appropriate labels and buttons as shown below: Select Data Filename: Browse output: Cancel Bun Query Tip: Use fd.InitialFi1cNameThisHorkbook.Path to have the dialog box start in the current folder. This makes it easier to find the file and faster for the IAs to mark. Look back to your textbook or the lecture slides if you have problems. Export this form for later use in other projects. (the file box is a TexiBox, the output box is a ListBox) Based on the Sales Orders database, write SQL statements to implement the following query. Attach code to the "Run Query" button so that when the button is clicked, the results of the query are placed in the listbox Find the OrderDate for all the orders placed by the customer with CustomerID For help in creating the queries, look at the Sales Orders: Sample Queries document. You may want to export this form for later use in future projects. 15

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!