Checkout
checkout
view
Your Cart Your Cart: item(s)
Add to Shopping Cart
$2.19 Instant Download
Computer Science, Computing and Communications Software
Year 3

Build an application that uses objects to query and update a data source


Create the form's user interface with the necessary labels and text boxes to display the fields from the underlying table.

Create a main menu for the form. Create a menu title having a menu item named Exit to exit the solution. On the Edit menu, create menu items to add, edit, and cancel editing of the current record, and to update and delete database records. On the Navigate menu, create menu items to locate the first, previous, next, and last record in the database table.

Using the Data tab on the Toolbox, create an instance of the OleDbConnection control, and configure it so that you establish a connection with the database named Chapter.08Data08Factory.mdb, setting the drive designator as necessary.

Generate a DataSet for the DataAdapter you just created. Set the DataSet name to dsParts. Write the necessary code to bind the fields in the underlying DataSet to the text boxes that you just created. Perform this task when the form loads.

Create the code for the Add, Edit, Update, Cancel, and Delete menu items. So that the user cannot add or delete a record while the current record is being edited, create a sub procedure named EditState to enable and disable menu items as necessary. Enable or disable the text boxes also.

Your solution should calculate the gross profit for the current item by subtracting the cost from the sales price. The total inventory at cost is calculated by multiplying the cost by the quantity on hand. You should display these output values whenever tile user locates a different record, or updates a record. I-lint: Create a sub procedure and call that procedure from the navigation menu items.



Field Name                          Description Data                                      Type
fldPartNumber                  Unique Identification Number                     Long Integer
fldDescription                   Description on part                                   String
fldCost                             Cost of part                                             Single
fldSalesPrice                     Sales price of part                                   Single
fldQuantityOnHand             Number of items in inventory                   Integer

Attachments
Factory.zip  View File

By OTA:  Rajender Kumar, MCom

OTA Rating:  4.8/5

Your Price:  $2.19  (original value ~$43.89)

What's included:

  • Plain text response
  • Attachment(s):
    • menu.zip
$2.19 Download Add to Cart

Add to Shopping Cart
$2.19 Instant Download
to locate, add, change, and delete records from a database table. - • Create the form's user interface with the necessary labels and text boxes to display the fields from the underlying table. • Create a main menu for the form. Create a menu title having a menu item named Exit to exit the solution. On the Edit menu, create menu items to add, edit, and cancel editing of the current record, and to ...
create a solution that utilizes a menu to locate, add, change, and delete records from a database table - • Start VB NET and create a new solution named YourName_Unit02.sln setting the drive designator as necessary. • Create the form's user interface with the necessary labels and text boxes to display the fields from the underlying table. • Create a main menu for the form. Create a menu title ...
Enhance the payments database - Professional Litigation User Services (PLUS) creates all types of visual aids for judicial proceedings. Raj Jawahir is working with the Payments database to track and analyze the payment history of PLUS clients. He again needs your help. He would like you to enhance the Payments database by completing the following: Make a copy of the database called suppor...
The base rate for the room depends on the room type - Set the drive designator as necessary. Enter the values shown, and then click the Calculate button. The cost of the reservation appears in the output section of the form. Exit the solution. Create a new solution named YourName_Unit01.sln. (will Be given when the problem is signed out.) Create the control instances on the form as shown.Note ...
cost of a hotel room - Save and execute the file attached. If you have not yet installed the software, single right click on the file and choose save target as, then run the file from your desktop. Set the drive designator as necessary. Enter the values shown, and then click the Calculate button. The cost of the reservation appears in the output section of the form. Exit the solution. • Create...

Page generated in 0.0444 seconds

About Us ·  Contact Us ·  Samples ·  Solutions ·  Legal Terms and Conditions ·  Privacy Policy

©2008 SolutionLibrary.com

Search for Solutions About Us Samples