#1
|
|||
|
|||
Syntax error in Title Expression
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. (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? 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. () |
#2
|
|||
|
|||
Quote:
Quote:
Quote:
|
#3
|
|||
|
|||
> Go to Tools | Attributes, right-click the column header, and check ID.
Cool!! |
|
|