Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need help writing VBA code: Create a form that allows the user to select a database (or any file, you do not need to add

Need help writing VBA code:

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Theory And Applications 27th Australasian Database Conference Adc 20 Sydney Nsw September 28 29 20 Proceedings Lncs 9877

Authors: Muhammad Aamir Cheema ,Wenjie Zhang ,Lijun Chang

1st Edition

3319469215, 978-3319469218

More Books

Students also viewed these Databases questions

Question

Describe your ideal working day.

Answered: 1 week ago