View Single Post
  #2  
Old 2007-11-19, 16:34
luz's Avatar
luz luz is offline
plan44.ch
 
Join Date: 2006-06
Posts: 348
Default Re: Concatenated field with separator

Ich würde das im <beforewritescript> machen, so etwa:

Code:
<beforewritescript><[CDATA[
  string fn;
  fn = TITLE+" "+N_PREFIX+" "+N_FIRST+" "+N_LAST;
]]></beforewritescript>
...und dann die Scriptvariable fn auf das entsprechende Datenbankfeld als write-only (die Information ist ja redundant) mappen:

Code:
<map name="n_fn" references="fn" type="string" mode="w" size="64"/>
__________________
Lukas Zeller, plan44.ch
Reply With Quote