Add a new parts record and delete an existing parts record

Assignment Help PL-SQL Programming
Reference no: EM13932977

The user should be able to do the following:

Scroll through the data records, showing all the fields.

Add a new parts record, delete an existing parts record, and update an existing parts record.

Create a sequential file with the inventory data.

Display the number of active and discontinued inventory parts.

Program Requirements

You must center the form on the screen.

In addition to the database fields, for each part in the inventory you must calculate and display

the gross profit (sales price - cost)

the total cost value of the part in the inventory (cost * quantity)

the total sales value of the part (sales price * quantity)

in 3 unbound control instances. These values should be updated when the current record changes.

Create a button and corresponding click event handler that will display a message box containing the number of discontinued

inventory parts, and the number of inventory parts that are not discontinued.

You must use labels to make the application understandable.

You must catch any arithmetic exceptions that occur during calculations and display an error message

You must use at least one user-defined FUNCTION and one SUB procedure.

You need to provide a way to exit the program gracefully

Field Name Description DatA TYPE

Fld Part number Unique identification Number Integer

FldPart Description Description of part String

FldCost Cost of part Single

FldSalePrice Sale price of part Single

FldQuantityOnHand Number of items in inventory Single

FldDiscontinued True if the item is discontinued Boolen

Reference no: EM13932977

Questions Cloud

Dividends are expected to grow at rate : Red-Blue Co. is growing quickly. Dividends are expected to grow at a rate of 24% for the next three years, with the growth rate falling off to the constant 6% per year indefinitely. If the required return is 11%, and the company just paid a dividend ..
Statement with other theories of general interest rates : The Liquidity Preference Theory states the rate of interest is not the reward for saving but for parting with (lending) liquidity.Critically evaluate this statement with other theories of general interest rates.
Assumptions that underlie your perspective and position : Do you identify and assess the key assumptions that underlie your perspective and position? (e.g., do you talk about how you arrived at your theory or do you simply state your conclusions?)
How to maintain the loyalty of customer to the company : Discuss the role of social media in relationship marketing. Use theory and examples to demonstrate you understanding. What is social media? The importance of social media? How to maintain the loyalty of customer to the company
Add a new parts record and delete an existing parts record : Add a new parts record, delete an existing parts record, and update an existing parts record.
Time value of money-interest rates : Ted Ltd is entitled to receive a cash inflow of $80,000 in 2 years' time and a further cash inflow of $14,000 in 5 years' time (in year 5).  If the interest rate is 8.5% per annum, how much is this stream of cash inflows worth:
An express and local train leave grayslake : An express and local train leave GraysLake at 3 P.M. and hear for Chicago 60 miles away. The express travels twice as fast as the local and arrives 10 hour ahead of the local. Find the speed of each train?
How uk and germany compare on migration : Read the two newspaper articles, each of which adopts a different writing style: Article 1: Refugees welcome? How UK and Germany compare on migration (Appendix 1)
What particular features of global hearing implants market : Could you please provide some assistance with regard to these different features, or at least point me in the right direction to get this information as I'm finding it hard to list the different features for commodity markets and/or global hearing..

Reviews

Write a Review

PL-SQL Programming Questions & Answers

  Trigger named products_update

Create a trigger named Products_UPDATE. This trigger should insert the old data about the product into the ProductsAudit table after the row is updated. Then, test this trigger with an appropriate UPDATE statement.

  Make a visio erd with primary and foreign keys

Combine the two diagrams make a visio ERD with Primary and Foreign keys.

  Explaining sql insert statement to insert new row in cds

Write down a SQL insert statement to insert new row in "CDS" table.

  Create a database model

Create a database model and Submit the table creation statements for the Database Model.

  Sql statement to display student first and last name

1. Write a SQL statement to display Student's First and Last Name.  2. Write a SQL statement to display the Major of the STUDENT with no duplications. Do not display student names. 3. Write a SQL statement to display the First and Last Name of studen..

  In this problem we will consider a movie database with

in this problem we will consider a movie database with three tablesmoviedirectortitle director yearmoviecasttitle actor

  Write a plsq block to do the followingselect the average

write a plsq block to do the followingselect the average salary of all employees in department number 20.if the average

  Display the output of the sql statement

Write a procedure that takes a car registration and returns the most recent date of rental and the maximum rental period for that car.  The procedure had the following formal parameters

  Question 1 given the series rlc resonant circuit in the

question 1 given the series rlc resonant circuit in the figure operating at variable frequency determinenbspa. the

  Writing and execuinge sql command

The table name will be METALS and will be used to store description of various metals. Following offers some additional direction on how table must be created.

  Write a select statement that returns two columns

Write a SELECT statement that returns these two columns - CategoryName The CategoryName column from the Categories table

  Write programme in oracle to make employee table

List the employee_id and employee_name of the employees form the l_employees table with the top 4 credit limits.

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