View Single Post
  #2  
Old 03-15-2014, 10:50 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,032
Quote:
Originally Posted by FlagTech View Post
A couple questions...

(1) Is it possible to use the Item Text attribute in a template's Title Expression? I'd like to use the 1st line of it...or, if there's any way to limit it to, say the first 50 characters.
No, that isn't supported.

Quote:
(2) After playing with all this a bit, seems I can't get any Title Expression string to work except the default one which is based on attribute numbers:

trim(coalesce([991] || ', ' || [990],[991],[990],[16],[974],[967],'(New Contact)'))

For instance, I've tried these:

trim(coalesce([Item Text],[Lastname] || ', ' || [Firstname])
trim(coalesce([Lastname] || ', ' || [Firstname])

(As you can see, I've renamed a couple of the default Contact form attributes.)

Anyway, regardless of the values in those fields, the node text in the tree displays SYNTAX ERROR.

Any ideas on what I'm doing wrong?
That will occur if a non-existent or unsupported (i.e., Item Text) attribute is specified.

Quote:
Also, is it possible for me to determine the attribute number of an attribute (including my custom attrib's)? That would allow me to follow the pattern of the default Title Expression, to build my own using attribute numbers.
Go to Tools | Attributes, right-click the column header, and check ID.
Reply With Quote