Define working with database tables

Assignment Help Computer Engineering
Reference no: EM1332759

Working with Database Tables

For this assignment, you will create a Visual Basic.NET application based on the skills and concepts used in IP2. In this exercise, you will create a solution that works with two tables having a Master/Detail relationship. The first table contains music category records, and the second table contains album detail records for each category.

A screen shot of the desired UI is shown in the following image. You can also download a running example of the completed project and the required database ITP400_IP3_B.mdb. Please be aware that the example program does not necessarily demonstrate all of the functional requirements, and it is intended only as an example. You are responsible for meeting the listed requirements. Please refer to the following information for the complete requirements.

Requirements:

For this project you will use the following database schema, which has two tables.

Table 1 -- Schema for the tblCategories table

Column Name Data Type
ldCategoryID Integer
fldCategoryDesc String

Table 2 -- Schema for table named tblAlbums

Column Name
Data Type

fldAlbumID
Integer

fldCategoryID
Integer

fldAlbumName
String

fldArtist
String

fldDatePurchased
Date

fldCost
Single

The input form contains a ListBox and a DataGrid control. Select album categories in the list box and then the corresponding album information appears in the DataGrid. As you select different categories, the total costs are recalculated for the selected category and displayed in a label on your form, formatted as currency.
Configure the form so it appears on the center of the desktop when the solution is run.
Do not allow the user to resize the form.
Remove minimize, maximize, and close buttons from the title bar
Perform the appropriate steps to create a connection to the sample database. Be sure to select the option to copy the database to your project so it will be automatically included in the project.

Create an instance of the ListBox control. Set the necessary properties so that the ListBox control will display the field fldCategoryDesc.

Create an instance of the DataGrid control on the form. Configure the DataGrid control instance so it displays records from the table named tblAlbums, but only for those records matching the selected category shown in the list box.
Format the DataGrid so the column header names are the same as the ones shown in the Figure. Set appropriate column widths, and format the cost column as currency, right justified. The date column should also be right justified.
Write the necessary code to calculate the total cost of the displayed albums. Display the results in a Label control above the cost column of the DataGrid. Format the output as currency. Right-justify the output in the Label control instance.
Create an Update button that will allow the user to save any changes made to the DataGrid back to the database. Write the necessary code for the button. Allow the user to add, change, and delete records in the Album table.
Create an Exit button for the solution. In the Click event handler for the button, display a message box to get confirmation from the user before exiting the solution.

Enhancements (optional to achieve maximum points)

Add a basic help system to your application.
Additional Notes

Name your project and set the title of your form (the Text property of the main form) to ITP400_IP3_<your name>.

Make sure you fulfill the minimum requirements before attempting advanced features.

Be sure to include good comments in your code.Name your objects, variables, functions, and others with appropriate and consistent names.
Your form(s) should be designed attractively and consistently.

Zip all your project files together and submit your assignment to your instructor via the drop box.
Please submit your assignment.

Reference no: EM1332759

Questions Cloud

Explain designing a b2c and a b2b online system : Explain Designing a B2C and a B2B online system and what types of information would be available to consider when designing a B2C and a B2B online system
Write down the program in vb.net : Write down the program in VB.Net with a graphical user interface. Make the program Web based.
Describe human resource risk management : What are the challenges and benefits, legal implications of each strategy and describe which approach you would use as an HR manager and why.
Are organizations more risk adverse : Are organizations more risk adverse or are individuals more risk adverse?
Define working with database tables : For this assignment, you would create a Visual Basic.NET application based on the skills and concepts used in IP2. In this exercise, you will create a solution that works with two tables having a Master/Detail relationship.
Comparing the open and closed organizations : Compare and contrast closed and rational organizations with open and non-rational organizations. Define the main concepts that separate these two types of organizations.
Developing good career networking contacts : What can you do to develop good career networking contacts?
Comparing which is the current quote has the japanese : Comparing which is the current quote has the Japanese dollar appreciated or depreciated.
Binomial option and risk-neutral : Critically discuss the differences between the binomial option pricing model and risk-neutral method of option pricing.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Define the main function that repeatedly calls the motion

A control system applies a force to an actuator proportional to the voltage of a signal coming into the control system. It is desired not to allow actuator to quiver back and forth in the presence of small corrections near zero-force point.

  How to produce a wired and wireless network plan

How to produce a wired and wireless network plan

  Define how an array works

Define the purpose of a pointer.What are the disadvantages to using pointers?

  Give some guidelines for effective communication

give some guidelines for effective communication. Detail all the written documentation, reports and communications methods used during the life cycle of a project.

  Make a web page named double.html

design a Web page named double.html whose HEAD includes the DoubleIt function. The page should contain a text box with an initial value of 1 and a button labeled "Double It". When user clicks the button, the DoubleIt function should be called to d..

  Speculate and share the perspective on the factors

Speculate and share your perspective on the factors mobile application developers must consider before deciding to charge or offer free/ad-sponsored products? If you decide to go with ad-support, is this a first release choice or as an update.

  Design a digital logic system that lights a lamp

button is presses if the a disk played is a hit and is not pressed if the disk played is a miss. plan a digital logic system that lights a lamp when a majority of the members think the disk is a hit.

  How can divide a group of people into two disjoint subgroups

how can Divide a group of people into two disjoint subgroups such that the difference in the total ages of the members of the two subgroups is as large as possible.

  Federal rules and criminal codes

Think about computer forensics professional’s testimony preparations, and how the investigator must ensure that the federal rules and criminal codes are followed both during and after the completion of the investigation. Identify and discuss some ..

  Suggestions for ensuring an adequate change control

What are two suggestions for ensuring the adequate change control on projects that involve outside contracts.

  A palindrome consists of a word or deblanked

A palindrome consists of a word or deblanked, unpunctuated phrase that is spelled exactly the similar when the letters are reversed. Write a recursive function that returns a value of 1 if its string argument is a palindrome.

  How to developing an information management framework

List and describe the steps involved in developing an Information Management framework.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd