Print Template Based On Database 追蹤

0
Avatar
Legacy Poster

I have a few templates 

  • Temp1
  • Temp2
  • Temp3

And the file is connected with a database which has field called "String" 

 

if "String"contains the word 'foo' or the word 'faa' I want it to print only Temp1

 

or else if "String"contains the word 'bat' or the word 'boo' or the word 'bat'  print Temp2 and Temp3

 

is this possible if so how would i go about doing it?

1 意見

0
Avatar
Ian Cummings
版主
評論操作 永久連結

Use a template selector in the "Templates" tab of the Page Setup dialog, and set the templates to be a child object of the selector.  Then, set the logic of your string so that it sets it's value to the name of the template you wish to print, based on the logic you assign it.

登入寫評論。