d_tab_product


demopfc.pbl   >   d_tab_product   

Last Update 13/03/2008 09:54:46
Size 14 882 bytes
Data Source
 SELECT  	product.id, 	product.name, 	product.unit_price, 	product.description, 	product.prod_size, 	product.color, 	product.quantity, 	product.picture_name FROM 	product 
detail
 detail
 - List of objects belonging to this band 
 color of type field 
 description of type field 
 id of type field 
 name of type field 
 picture_name of type field 
 quantity of type field 
 size of type field 
 unit_price of type field 
 
footer
 footer
 
header
 header
 - List of objects belonging to this band 
 color_t of type DWText
 description_t of type DWText
 id_t of type DWText
 name_t of type DWText
 quantity_t of type DWText
 size_t of type DWText
 t_1 of type DWText
 unit_price_t of type DWText
 
summary
 summary
 
color
 Dropdown
 - Field associated with column "product.color"
 - Required field.
 - A maximum of 0 characters can be entered.
 - Left aligned field.
 - Tag value: Color of the product
 - Unsorted list
 - Values: 
 	Noir Black
 	Blanc White
 	Pourpre Purple
 	Orange Orange
 
description
 Field
 - Field associated with column "product.description"
 - A maximum of 30 characters can be entered.
 - Required field.
 - Left aligned field.
 - Tag value: Describes what the product is
 
id
 Field
 - Field associated with column "product.id"
 - A maximum of 0 characters can be entered.
 - Required field.
 - Right aligned field.
 - Tag value: Unique Identification Code of the product
 
name
 Field
 - Field associated with column "product.name"
 - A maximum of 15 characters can be entered.
 - Required field.
 - Left aligned field.
 - Tag value: Name of the product
 
picture_name
 Field
 - Field associated with column "product.picture_name"
 - A maximum of 0 characters can be entered.
 - Required field.
 - Left aligned field.
 
quantity
 Edit mask
 - Field associated with column "product.quantity"
 - Required field.
 - Right aligned field.
 - Initial value: 1
 - Tag value: Amount of the product in stock
 - Edit mask: ###,##0
 
 
size
 Dropdown
 - Field associated with column "product.prod_size"
 - Required field.
 - A maximum of 0 characters can be entered.
 - Left aligned field.
 - Unsorted list
 - Values: 
 	Petit Small
 	Moyen Medium
 	Large Large
 	Toutes tailles One size fits all
 
unit_price
 Field
 - Field associated with column "product.unit_price"
 - A maximum of 0 characters can be entered.
 - Required field.
 - Right aligned field.
 - Tag value: Unit price per product
 
color_t
 Static Text
description_t
 Static Text
id_t
 Static Text
name_t
 Static Text
quantity_t
 Static Text
size_t
 Static Text
t_1
 Static Text
unit_price_t
 Static Text

release 7;
datawindow(units=0 timer_interval=0 color=78682240 processing=0 HTMLDW=no print.documentname="" print.orientation = 0 print.margin.left = 110 print.margin.right = 110 print.margin.top = 97 print.margin.bottom = 97 print.paper.source = 0 print.paper.size = 0 print.prompt=no print.buttons=no print.preview.buttons=no )
header(height=144 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=144 color="536870912" )
table(column=(type=long update=yes updatewhereclause=yes key=yes name=id dbname="product.id" )
 column=(type=char(15) update=yes updatewhereclause=yes name=name dbname="product.name" )
 column=(type=decimal(2) update=yes updatewhereclause=yes name=unit_price dbname="product.unit_price" )
 column=(type=char(30) update=yes updatewhereclause=yes name=description dbname="product.description" )
 column=(type=char(18) update=yes updatewhereclause=yes name=size dbname="product.prod_size" values="Petit	Small/Moyen	Medium/Large	Large/Toutes tailles	One size fits all/" )
 column=(type=char(6) update=yes updatewhereclause=yes name=color dbname="product.color" values="Noir	Black/Blanc	White/Pourpre	Purple/Orange	Orange/" )
 column=(type=long update=yes updatewhereclause=yes name=quantity dbname="product.quantity" initial="1" )
 column=(type=char(12) update=yes updatewhereclause=yes name=picture_name dbname="product.picture_name" )
 retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"product~" ) COLUMN(NAME=~"product.id~") COLUMN(NAME=~"product.name~") COLUMN(NAME=~"product.unit_price~") COLUMN(NAME=~"product.description~") COLUMN(NAME=~"product.prod_size~") COLUMN(NAME=~"product.color~") COLUMN(NAME=~"product.quantity~") COLUMN(NAME=~"product.picture_name~")) " update="product" updatewhere=1 updatekeyinplace=no  sort="id A " )
column(band=detail id=2 alignment="0" tabsequence=20 border="5" color="0" x="489" y="8" height="52" width="448" format="[general]"  name=name  tag="Name of the product" edit.limit=15 edit.case=any edit.autoselect=yes edit.required=yes edit.nilisnull=yes edit.autohscroll=yes  font.face="Arial" font.height="-8" font.weight="700"  font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=6 alignment="0" tabsequence=60 border="5" color="0" x="489" y="80" height="52" width="448" format="[general]"  name=color  tag="Color of the product" edit.name="ddlb_couleur" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.useasborder=yes  font.face="Arial" font.height="-8" font.weight="700"  font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=7 alignment="1" tabsequence=80 border="5" color="0" x="1591" y="80" height="48" width="279" format="[general]"  name=quantity  tag="Amount of the product in stock" editmask.mask="###,##0"  font.face="Arial" font.height="-8" font.weight="700"  font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=4 alignment="0" tabsequence=30 border="5" color="0" x="960" y="8" height="52" width="608" format="[general]"  name=description  tag="Describes what the product is" edit.limit=30 edit.case=any edit.autoselect=yes edit.autohscroll=yes  font.face="Arial" font.height="-8" font.weight="700"  font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=5 alignment="0" tabsequence=70 border="5" color="33554432" x="960" y="76" height="56" width="603" format="[general]"  name=size edit.name="ddlb_taille" ddlb.limit=0 ddlb.allowedit=no ddlb.case=any ddlb.useasborder=yes  font.face="Arial" font.height="-8" font.weight="700"  font.family="1" font.pitch="1" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=1 alignment="1" tabsequence=10 border="5" color="0" x="23" y="8" height="52" width="265" format="[general]"  name=id  tag="Unique Identification Code of the product" edit.limit=0 edit.case=any edit.autoselect=yes edit.autohscroll=yes  font.face="Arial" font.height="-8" font.weight="700"  font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=3 alignment="1" tabsequence=40 border="5" color="0" x="1591" y="8" height="52" width="279" format="#,##0.00;[RED](#,##0.00)"  name=unit_price  tag="Unit price per product" edit.limit=0 edit.case=any edit.autoselect=yes  font.face="Arial" font.height="-8" font.weight="700"  font.family="1" font.pitch="1" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="6" color="0" x="306" y="8" height="128" width="160" format="[general]"  name=picture_name bitmapname=yes edit.limit=0 edit.case=any edit.autoselect=yes  font.face="Arial" font.height="-8" font.weight="700"  font.family="1" font.pitch="1" font.charset="0" background.mode="1" background.color="553648127" )
text(band=header alignment="2" text="Price" border="6" color="33554432" x="1586" y="8" height="56" width="293"  name=unit_price_t  font.face="Arial" font.height="-8" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Color" border="6" color="33554432" x="485" y="80" height="56" width="462"  name=color_t  font.face="Arial" font.height="-8" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Size" border="6" color="33554432" x="965" y="80" height="56" width="603"  name=size_t  font.face="Arial" font.height="-8" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Qty" border="6" color="33554432" x="1586" y="80" height="56" width="293"  name=quantity_t  font.face="Arial" font.height="-8" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Name" border="6" color="33554432" x="485" y="8" height="56" width="462"  name=name_t  font.face="Arial" font.height="-8" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Description" border="6" color="33554432" x="965" y="8" height="56" width="603"  name=description_t  font.face="Arial" font.height="-8" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="ID" border="6" color="33554432" x="23" y="8" height="128" width="265"  name=id_t  font.face="Arial" font.height="-8" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="" border="6" color="33554432" x="306" y="8" height="128" width="160"  name=t_1  font.face="Arial" font.height="-8" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" )