Recent Changes - Search:

add Table DB page

hide

Table DB


hide

Topics


show

Changed

Visitor's book Site map pmwiki-2.3.32

Test 5

read without the 'table' attribute will read all tables on the page

The 'table' attribute can be a number or an anchor. The anchor must have a '#' - as in '#anchorname'.

(:tabledb action=read page="TableDB.ReadTable7" table="3":)
(:tabledb action=display page="TableDB.ReadTable7":)
this table has one cell

which is on two lines

more reads append to the table array

(:tabledb action=read page="TableDB.ReadTable7" table="4":)
(:tabledb action=display page="TableDB.ReadTable7":)
this table has one cell

which is on two lines

this table has one cell

more reads append to the table array

(:tabledb action=read page="TableDB.ReadTable7" table="5":)
(:tabledb action=read page="TableDB.ReadTable7" table="6":)
(:tabledb action=display page="TableDB.ReadTable7":)
this table has one cell

which is on two lines

this table has one cell
cell 1cell 2cell 3cell 4cell 5cell 6
 cell 4cell 5cell 6
cell 1cell 2cell 3
this is a caption
head long 1head long 2head long 3head long 4head long 5head long 6
cell 1cell 2cell 3cell 4cell 5cell 6
cell 1cell 2cell 3cell 4cell 5cell 6
cell 1cell 2cell 3cell 4cell 5cell 6
cell 1cell 2cell 3cell 4cell 5cell 6

more reads append to the table array

(:tabledb action=initialize:)
(:tabledb action=read page="TableDB.ReadTable7" table="7":)
(:tabledb action=display page="TableDB.ReadTable7":)
this table has one cellnr

action=initialize clears the table arrays

anchor for the table attribute

(:tabledb action=initialize:)
(:tabledb action=read page="TableDB.ReadTable7" table="#banana":)
(:tabledb action=display page="TableDB.ReadTable7":)
cell 1cell 2cell 3cell 4cell 5cell 6
 cell 4cell 5cell 6
cell 1cell 2cell 3

using an anchor

(:tabledb action=initialize:)
(:tabledb action=read page="TableDB.ReadTable7" table="#cucumber":)
(:tabledb action=display page="TableDB.ReadTable7":)
Year Count Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
1995 2 X X
1996 1 X
1997 1 X
1998 3 X X X
1999 4 X X X X

using an anchor

(:tabledb action=initialize:)
(:tabledb action=read page="TableDB.ReadTable7" table="#apple":)
(:tabledb action=display page="TableDB.ReadTable7":)

Can you, or someone you know, keep us entertained or informed?
Our Tuesday night programme organiser, is keen to hear from anyone who would like to be considered as a Tuesday night speaker/presenter.
The club can provide assistance for speakers including slide or data projectors.

Error message will display when using a bad anchor name or a bad table number or a bad action

(:tabledb action=initialize:)
(:tabledb action=read page="TableDB.ReadTable7" table="#badname":)
(:tabledb action=display page="TableDB.ReadTable7":)


Function TableDBRead() : Could not find table [TableDB.ReadTable7][#badname]

Function TableDBDisplayTable() : Could not find table [TableDB.ReadTable7][]
Check for prior 'action=read' and other parameters are correct.

bad table number

(:tabledb action=initialize:)
(:tabledb action=read page="TableDB.ReadTable7" table="43":)
(:tabledb action=display page="TableDB.ReadTable7":)


Function TableDBRead() : Could not find table [TableDB.ReadTable7][43]

Function TableDBDisplayTable() : Could not find table [TableDB.ReadTable7][]
Check for prior 'action=read' and other parameters are correct.

bad action

(:tabledb action=initialize:)
(:tabledb action=read page="TableDB.ReadTable7":)
(:tabledb action=badaction :)


Function TableDB() : Action not found. $action='badaction'

tahi Page last modified on 2016 Jul 26 19:40

Edit - History - Recent Changes - WikiHelp - Search - email page as link -> mailto:?Subject="KiwiWiki: Test 5"&Body=