Kinook Software Forum

Go Back   Kinook Software Forum > Ultra Recall > [UR] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-15-2014, 09:50 AM
FlagTech FlagTech is online now
Registered User
 
Join Date: 02-27-2014
Posts: 17
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.


()
Reply With Quote
  #2  
Old 03-15-2014, 10:50 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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
  #3  
Old 03-15-2014, 12:16 PM
FlagTech FlagTech is online now
Registered User
 
Join Date: 02-27-2014
Posts: 17
> Go to Tools | Attributes, right-click the column header, and check ID.

Cool!!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 11:25 PM.


Copyright © 1999-2023 Kinook Software, Inc.