TDL question

Posts   
 
    
mikeg22
User
Posts: 411
Joined: 30-Jun-2005
# Posted on: 12-Apr-2007 19:57:18   

In a TDL file, I am looping through fields with


<[Foreach EntityField CrLf]>

I would like to check if the field is nullable or not. I try putting in:


<[If Not IsNullable]>

but this doesn't seem to work. How do I do this?

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 13-Apr-2007 14:16:23   

Which version of LLBLGen Pro are you using (Designer->Help->About->Release date )?

mikeg22
User
Posts: 411
Joined: 30-Jun-2005
# Posted on: 13-Apr-2007 17:34:20   

Walaa wrote:

Which version of LLBLGen Pro are you using (Designer->Help->About->Release date )?

Sorry simple_smile

1.0.2005.1 (July 6 Final)

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39922
Joined: 17-Aug-2003
# Posted on: 13-Apr-2007 19:14:50   

That's not an 1.0.2005.1 TDL statement. Try using an .lpt template instead. You can use .lpt templates as include templates inside TDL templates. Or add it to the TDL interpreter of course (See SDK sourcecode)

Frans Bouma | Lead developer LLBLGen Pro