#
# This is a Template-File for WWWdb
#
#
#

# --- Description of the data to access -----------------------------------------
[Data]
Table    = DbRc
Order    =

UpdFields = ConfigText, DriverName, ConfigFile
QryFields =

IdField   = dummy

[Cache]
Timeout         = 0

# --- Configuring the browser here ----------------------------------------------
[Browser]
MaxRows = 0

# --- General header for WWWdb --------------------------------------------------
[Header]
Title = Alter and save the generated Database-config-file

# --- Definition of the different states ----------------------------------------

# Buttons for all states
# please note that "-" deactivates a Button
[State All]
BtnHelp    = -

# This is the state when the form is called the first time, or the Back-button
# is pressed
[State Init]
Header = ""
BtnNew = -
BtnQry = -
BtnPrev = "<< Previous"
BtnFinish = "Finish"

# In this state you have selected a record, which you can update or delete
[State Work]
Header = ""
BtnUpd = -
BtnDel = -

# This is the record-Browser
[State Qry]
Header = ""

# --- Layout for the area, the data is shown ------------------------------------
[Layout Table]
;LinkWidth   = <Width of link-box in pixels>
;Border      = <Border-Width>
;BgColor     = <Background-color of table>

# --- Here are the examples for the single fields -------------------------------
;[Layout Label <fieldname>]
;Text = <Text of label>
;Pos  = <Coordinates of this field  <[+]Row.[+]Column[+Span].[+]Stack-Order>

;[Layout Field <fieldname>]
;Pos      = <Coordinates of this field  <[+]Row.[+]Column[+Span].[+]Stack-Order>
;Type     = Area
;Type     = Checkbutton
;Type     = Hidden
;Type     = Password
;Type     = Radio
;Type     = Select
;Type     = Text
;Help     = <Help-Text> # Not correctly implemented yet
;Multiple = <Value if Yes>
;Size     = 3
;Values   = <<EOF

# Attributes
;Align     = center | left | right
;BgColor   = <Color>
;Big       = <Value if Yes>
;Blink     = <Value if Yes>
;Bold      = <Value if Yes>
;Bold      = Value if Yes>
;Font      = color=#000090
;Font      = color=<Foreground-color>
;Font      = face=<Font>
;Font      = size=<[+-]<Size>>
;Italic    = <Value if Yes>
;NoWrap    = <Value if Yes>
;Small     = <Value if Yes>



[Layout Label ExplainText]
Pos  = +1.0+1.0
Text = <<EOF

<P>

OK, we are ready now. The config-file for the database-connection
can now be created. Before doing this, please have a look, that all
values were entered correctly.

<BR><BR>

If so, please enter a name for the database-connection (without the
.rc postfix) and press the finish-button. Please note, that - for
security-reasons - you cannot overwrite a existing file.


</P>

<B>Here is the config-file:</B>

<HR>
EOF



[Layout Field ConfigText]
Pos  = +1.0.0
Type = Label
BgColor = "#f0f0f0"
SafeText = yes

[Layout Label Ruler]
Pos  = +1.0+1.0
Text = "<HR>"

[Layout Label DriverName]
Text = Name, you wish to give this DB-Driver
Pos  = +2.0.0

[Layout Field DriverName]
Pos  = +1.0.0
Size = 80

[Layout Field ConfigFile]
Pos  = +1.0.0
Type = Hidden
