You are on page 1of 5

Names

Names in this workbook:


DBQfields DBQsource DBQsql DBQtable =$DBQ.$B$3 =$DBQ.$B$1 =$DBQ.$B$10 =$DBQ.$B$2 #DBQfields #DBQsource #DBQsql #DBQtable

Identifier,Author,ISBN Bibliography SELECT "Identifier","Author"," biblio

Database Range
DBQ <dynamic> Property Insert/Remove set. #DBQ

Used by Macro and Formulae Used by Formulae

Seite 1

Names

dentifier,Author,ISBN

SELECT "Identifier","Author","ISBN" FROM "biblio" WHERE "ISBN"='3827262763'OR"Title"Like 'StarOffice*'

Seite 2

DBQ DBQsource DBQtable DBQfields Bibliography biblio Identifier,Author,ISBN "Identifier","Author","ISBN" Compose WHERE clause from criteria: ISBN OR Title < Data Source < Table Name. Since Ooo2.0.4 a query-name should work as well (untested) < Comma-separated field-list or blank for all * No spaces around commas!

='3827262763' Like 'StarOffice*'

"ISBN"='3827262763' OR"Title"Like 'StarOffice*'

DBQsql #DBQ Identifier BOR02a BOR02b DAN00 FAC01 HAB00 JON00 RAP00 RIN01 WAR01a

SQL composed from above cells: SELECT "Identifier","Author","ISBN" FROM "biblio" WHERE "ISBN"='3827262763'OR"Title"Like 'StarOffice*' Refresh Button < original version with hard coded names Author ISBN Borges, Malte; Schumacher, 3827262763 Jrg Borges, Malte; Schumacher, 345317335X Jrg Dandenell, Malin; Ek, Jesper9163606194 Facundo Arena, Hector 987526086X Habraken, Joe 013029389X Jones, Floyd; Haugland, Solveig 0130307033 Rapion, Anne 2746011123 Rinne , Karin 377236585X Warner, Nancy D. 0130293865

Seite 3

DBQ

ould work as well (untested) No spaces around commas!

Edit Blue Cells (unprotected) Used by Macro url used by 1st button: url used by 2nd button:

Refresh By URL

vnd.sun.star.script:Standard.DBQ.RefreshDBQ?language=Basic&location=document vnd.sun.star.script:Standard.DBQ.RefreshDBQByURL?language=Basic&location=document&dbRa All names are passed with the url. See comments in Basic code.

Seite 4

DBQ

Basic&location=document guage=Basic&location=document&dbRange=DBQ&Source=Bibliography&SQLCell=DBQsql

Seite 5

You might also like