Passing external parameters to TableMaker

Danielle et jean Thierry-Mieg mieg at kaa.crbm.cnrs-mop.fr
Wed Apr 2 13:08:06 EST 1997


multiple parameters are just several words on the same line

i beleive you can "" the parameters, can you give me a table example, i ll
try
but may be you must escape the " on top of that

something absurd like:

acedb> table -n mytable parm1 \"parm two\"

this is all due to the crazy empilement of shells
but i beleive it does work in some way

ok i have it:

acedb> find table t1

// Found 1 objects in this class
// 1 Active Objects 
acedb> show -a

Table : "t1"
Sortcolumn       1
Parameters       "toto"
Colonne  1 From 1
Colonne  1 Visible
Colonne  1 Width 12
Colonne  1 Optional
Colonne  1 Condition "IS \%1"
Colonne  1 A_Class "Author"

// 1 object dumped
// 1 Active Objects 


acedb>  table -n t1 "\\\"a b\\\""
"a b"

//# 1 lines in this table
// 1 Active Objects 
acedb> find author

// Found 2 objects in this class
// 2 Active Objects 
acedb> list

KeySet : Answer_1
Author:
 a b
 tyty
// 2 object listed
// 2 Active Objects 
acedb> list -a

KeySet : Answer_1
Author : "a b"
Author : "tyty"
// 2 object listed
// 2 Active Objects 
acedb> 


note also that with query, you should be more pedantic

acedb> find author a b

// Found 1 objects in this class
// 1 Active Objects 
acedb> query find author "a b"

// Found 1 objects
// 1 Active Objects 
acedb> find author "a b"

// Found 1 objects in this class
// 1 Active Objects 
acedb>  query  find author a b

// Found 0 objects
// 0 Active Objects 




More information about the Acedb mailing list