Properties and Param Elements
\The Sandbox \PB History & Future \New In PB7 \DW ActiveX \DB Connections \Properties & Params
Properties &
Params

How they work

The Web control and Transaction Object control have several properties that specify connection information and a DataWindow object for the control. You provide values for the properties with Param elements, which are enclosed in the Object element.

When you use PowerSite to insert the controls, Param elements are automatically added to the web page. In PowerSite, you can provide values for the properties using the custom property dialogs for the controls. You can also write scripts that set or change property values.

This list of Param elements groups the properties of the Web control according to their page in the property dialog. The first group is standard ActiveX properties that you should ignore.

The Transaction Object control has only the last two property pages: Transaction and Trans User.

Stock properties you can ignore

    <PARAM VALUE=65536 NAME="_Version"></PARAM>
    <PARAM VALUE=9280 NAME="_ExtentX"></PARAM>
    <PARAM VALUE=5155 NAME="_ExtentY"></PARAM>
    <PARAM VALUE=2 NAME="_StockProps"></PARAM>
    <PARAM VALUE="" NAME=Caption></PARAM>

Properties on General page

    <PARAM VALUE="javadwtest70.pbl" NAME=SourceFileName> </PARAM>
    <PARAM VALUE="d_emp" NAME=DataWindowObject></PARAM>
    <PARAM VALUE=0 NAME=SuppressEvents></PARAM>

Properties on Scrolling page

    <PARAM VALUE=0 NAME=VScrollBar></PARAM><PARAM VALUE=0 NAME=HScrollBar></PARAM><PARAM VALUE=0 NAME=HSplitScroll></PARAM><PARAM VALUE=0 NAME=LiveScroll></PARAM>

Properties on Transaction page

    <PARAM VALUE="Driver='com.sybase.jdbc.SybDriver', URL='jdbc:sybase:Tds:localhost:7373'" NAME=dbParm> </PARAM>

Properties on Trans User page

    <PARAM VALUE=dba NAME=LogId></PARAM><PARAM VALUE=sql NAME=LogPass></PARAM>

PBL Peeper PB Help PB History
& Future About Us Feedback Site Map

Google
 
Web www.techno-kitten.com
www.sybase.com