Regaring Vbscript 追蹤

0
Avatar
Legacy Poster

Hello , 

 

I read through a sql query all the data that I want to print .

Every sticker in the select records in the bartender is one line.

How I can define in the template when a field has a specific value print one string and if not print another string.

Is a typical if...then scenario 

 

In the more options , I choose VB Scripting  , OnProssesData and through Category I choose the database field that I am interesting , but I do not have the correct syntax. any ideas ? 

 

Thanks in advance! 

1 意見

0
Avatar
Fernando Ramos Miracle
版主
評論操作 永久連結

Hello Nek

 

Could you post the exact code you are using?

 

Also, you might want to consider using a data source of the type VB Script, using an event base script. This way you can set your code in the "OnNewRecord" event making sure it executes once for every records.

 

Regards.

登入寫評論。