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

# --- Description of the data to access -----------------------------------------
[Data]
Table    = wwwdb_lookup
Order    = key_name, sort_nr

UpdFields = key_name, label, key_value, sort_nr
QryFields = key_name, label, key_value, sort_nr

IdField   = id_lookup, lang

[Cache]
Timeout         = 0


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

[Qry]
BgColor2    = #e0e0e0
NrOfColLine = 2
SelType = Link

# --- General header for WWWdb --------------------------------------------------
[Header]
Title = "Modifying the WWWdb-Lookups"

# --- User-specific gui definitions ---------------------------------------------
[GUI]

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

# This is the state when the form is called the first time, or the Back-button
# is pressed
[State Init]

# In this state you have selected a record, which you can update or delete
[State Work]

# This is the record-Browser
[State Qry]



[Layout Qry _link]
Text = ""
Type = Ref
Value = "<  >"
Align = Right

[Layout Label id_lookup]
Pos = +1.+0.+0
Text = "Id:"
Bold = Yes
Align = Right

[Layout Field id_lookup]
Pos = +0.+1.+0
Type = Label

[Layout Label lang]
Pos = +1.+0.+0
Text = "Language:"
Bold = Yes
Align = Right

[Layout Field lang]
Pos = +0.+1.+0
Type = Label

[Layout Label key_name]
Text = "Name:"
Bold = Yes
Align = Right

[Layout Label key_value]
Text = "Value:"
Bold = Yes
Align = Right

[Layout Label label]
Text = "Label:"
Bold = Yes
Align = Right

[Layout Label sort_nr]
Text = "Sort-no.:"
Bold = Yes
Align = Right
