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

  Convert requirement to logic and then to sql

Prepare the SQL query for each of given requirements. Convert requirement to logic, then to SQL. Illustrate the names of all products which have been sold.

  Perform the tasks below by using the correct sql statements

Create a view so that supplier 'ASP' can only see his information from the l_foods table.  Call this view_l_foods_ASP.  Show columns supplier_id, product_code, menu_item, description, and price in your view.

  Develop and demonstrate sql skills

Write a script that provides all of the information in, and duplicates the formatting of, Oracle's SQL*Plus describe command. Additionally, the output should add the comments on the rows.

  Update stock levels when the order is cancelled

Execute queries to confirm that the basket order status and product stock levels have been appropriately modified by the trigger - the trigger needs to fire when a new status record is added to the BB_BASKETSTATUS table and when the IDSTAGE col..

  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

  Write sql statement to display first-last name of students

Write a SQL statement to display the First and Last name of students who have the Status greater than 1 and less than 10. Use BETWEEN.

  The database design

Update the TOC to reflect the new section.Name the document CS251_ _Final.doc.Submit the document for grading.Submit your database file to the Submission Area.

  Write an sql statement to produce a single column called

write an sql statement to produce a single column called itemlocation that combines the skudescriptionthe phrase is

  Display all product columns for products

Display all product columns for products that are red and black and have a list price greater than or equal to $400 and less than or equal to $800. Use the keywords BETWEEN and IN.

  Question 1write a perl subroutine for temperature

question 1write a perl subroutine for temperature conversion named converttemp. it should be able to handle both

  Create a pivottable on a new worksheet using the data

Use the data on the Christensen worksheet in the range A1:J19 to create a PivotChart on a new sheet. Use the Type, Issue Price, and Est. Value fields and the default locations. Find the average issue price and average estimated value.

  Sql statement which select names and owners of great danes

Write SQL statement which would select each of the following: names and owners of all Great Danes and all attributes of poodles whose balance is no greater than $50.

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