| Hyderabad Jobs | Book Website | ![]() |
I Love Hyderabad | Hyderabad Colleges |
| Home | Business Emails | Hyderabad Classifieds | Contact Us | |
| 7 Wonders of Hyderabad | Web Hosting | Yellow Pages | Our Network | |
Introduction to PowerBuilder
ExercisesYou need to create the following objects. The left most column in the following table lists the object that you need to create and also has the link to the deatil list of those objects. The second column lists the files that have SQL statements to create those objects. You can use these files in two different ways. One, you can execute them in the database administration painter and objects will be created for you. We don't recommend this way. Instead we would like you to create those objects and export those object definitions and compare with the SQL that is listed in the files (second column). The third column lists the files that insert sample data into those tables. The data is also displayed in the picture for each table. Tables:
units TableCreate the units table as shown in the following picture and enter the data as shown.
product_master TableCreate product_master table as shown in the picture and enter the data as shown.
Data For product_master Table
Please ignore the product_measuring_unit column's edit style shown in the picture for now. It is a DropDownDataWindow edit style and will be explained in the DataWindow session. trans TableCreate 'trans' table as shown in the picture and enter the data as shown.
Data For 'trans' Table
product_images TableCreate product_images table as shown in the picture. This table doesn't have any sample data. The reason is that, you need to follow special procedure to insert images into the table, which is not explained and is too advanced at this stage. We will explain this in the OLE session.
Once you define all the above tables, it should look like in the following picture:
e_tran_type Edit StyleAfter defining, assign it to tran_type column in trans table.
v_no_empty_column Validation RuleAfter defining, assign this rule to product_description in product_master and unit-description in units table and unit column in units table.
v_no_zero_column Validation RuleAfter defining, assign this rule to product_reorder_level column in product_master and tran_qty, tran_serial_no, tran_no, tran_item_no in trans table.
|
| Copyright © 1996 - 2006 HamaraShehar.com Pvt. Ltd. All Rights Reserved.
Domain Registration, Website Design, Website Hosting by HamaraShehar.com |