Hi Mans Use a macrocall:
\define getGender(gender,type) {{$gender$##$type$}} \end <<getGender {{!!gender}} {{!!type}}>> if this doesn't work -- try set widgets: \define getGender() {{$(gender)$##$(type)$}} \end <$set name="gender" value={{!!gender}}> <$set name="type" value={{!!type}}> <<getGender>> </$set></$set> regards On Monday, June 23, 2014 3:29:38 PM UTC+2, Måns wrote: > > Hi Matabele > > >> I think in your use case you would want a variable as the name of the >> data tiddler -- so references might look something like >> {{$gender$##gender1}}, where the variable takes the value 'male' or >> 'female' as appropriate. I think you'll need a macro call to insert the >> variable before using the text-reference as the syntax I've used above >> won't work (this was for illustration only.) >> > > You are absolutely right :-) > > I set gender as a field "gender" to male or female - now I need to > retrieve the result from the correct library.. > > > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.