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

  Converting the skip list l into binary search tree t(l)

Any skip list L can be converted into binary search tree T(L)as follows: The root of T(L) is considered as the leftmost node on the highest non-empty level of L the left and right sub-trees.

  What is joptionpane class or the scanner class

What is JOptionPane class or the Scanner class

  Program that outputs the winner of the election

Write down a program that allows the user to enter the last names of five candidates in a local election and the votes received by each candidate. The program should then output each candidate's name, the votes received by that candidate, and the ..

  Image smoothing with gaussian masks and c++

Implement the image smoothing utilizing the convolution with Gaussian masks with C++. You must utilize 2 input images which are pgm files. First, implement 2D Gaussian convolution utilizing the 1D Gaussian masks.

  System analysis and design

In the System Analysis and Design: Design Patterns – How widely used are design patterns in today’s development environments.

  Evaluate dbms products for data warehousing

design a high-level summary of the main requirements to evaluate DBMS products for data warehousing. Suppose you are selling the data warehouse idea to your users.

  How can the receiver detects the error

UDP uses 1's complement for its checksums. assume you have the following three 16-bit words 0100010001000100, 0101010101010101, 0011001100110011. What is the 1's complement of the sum of these 16-bit words.

  Why the binary number 3f62h has nine binary ones

Write down a program that takes the smaller of two words stored in memory locations DS:1234h and DSL=:5678h and store in register AX.

  Tcp and udp

UDP and TCP utilize the 1s complement for their checksums. Assume you have the following three 8-bit bytes: 01010101, 01110000, 01001100. Along with the 1s complement schema, how does receiver detect the errors?

  Unix and window trace route

Compare and contrast some of the differences between the UNIX (and Linux) and the Window Trace route. All codes for each ICMP error message are not fully listed and described.

  Explain the risks and benefits of virtualization

How would you recommend that your IT department prepare for disaster.

  Advantages and disadvantages of compilers and interpreters

choose a problematic situation that you think a Java program can solve or make easier.

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