infomaker help please

I am attempting to add a computed field in Infomaker with the following expression:

bitmap(“K:\dev_photos\"+string(customer_no)+".bmp")

however I keep getting an error message saying "expecting STRING expression"

I also tried: bitmap(“K:\dev_photos\"+customer_no+".BMP")

what am I missing?

Dale

  • Dale,

    The only thing I can think of is that you need to specify a data format as the second parameter of the string() function.  Reading through the help docs it makes it sound like numeric values being converted to string shouldn't need a format to be specified, but InfoMaker has misled me before.

     

    That said, I don't have any experience with this to draw on and tell you for sure.

  • The only thing I can think of is replacing the mapped drive with the full path. FWIW I have computed fields in IM and they're formatted essentially like the latter of your two. bitmap("\\folder\otherfolder\"+customer_no+".bmp") so I don't think the string function should be necessary.

  • Thanks Levi and Amanda for your replies.  It was actually something much simpler.  I had a strange character but didn't notice.

    I had “ instead of "

    Don't  know where I got that from but it was freakin the thing out.

    Dale

  • This is what we use without any problems.
     
    bitmap ("t:\donor photos\"+customer_no+".bmp" )
     
    Lee Schlosser


    From: Tessitura Technical Forum [mailto:forums-technical@tessituranetwork.com] On Behalf Of Amanda Freeman
    Sent: Wednesday, August 25, 2010 2:03 PM
    To: Lee Schlosser
    Subject: Re: [Tessitura Technical Forum] infomaker help please

    The only thing I can think of is replacing the mapped drive with the full path. FWIW I have computed fields in IM and they're formatted essentially like the latter of your two. bitmap("\\folder\otherfolder\"+customer_no+".bmp") so I don't think the string function should be necessary.

    From: Dale Aucoin <bounce-daleaucoin4707@tessituranetwork.com>
    Sent: 8/25/2010 11:42:05 AM

    I am attempting to add a computed field in Infomaker with the following expression:

    bitmap(“K:\dev_photos\"+string(customer_no)+".bmp")

    however I keep getting an error message saying "expecting STRING expression"

    I also tried: bitmap(“K:\dev_photos\"+customer_no+".BMP")

    what am I missing?

    Dale




    This message was sent automatically to you by www.tessituranetwork.com because you subscribed to the Tessitura Technical Forum. You may reply to this message to post to the Technical forum or visit the site to search, read and post to the forums. In the interest of keeping the forum posts from becoming cluttered, we encourage you to delete previous message text from your reply before sending. Thank you!
  • One other thought, is remember that the bitmap is a "computed" field.
     


    From: Tessitura Technical Forum [mailto:forums-technical@tessituranetwork.com] On Behalf Of Amanda Freeman
    Sent: Wednesday, August 25, 2010 2:03 PM
    To: Lee Schlosser
    Subject: Re: [Tessitura Technical Forum] infomaker help please

    The only thing I can think of is replacing the mapped drive with the full path. FWIW I have computed fields in IM and they're formatted essentially like the latter of your two. bitmap("\\folder\otherfolder\"+customer_no+".bmp") so I don't think the string function should be necessary.

    From: Dale Aucoin <bounce-daleaucoin4707@tessituranetwork.com>
    Sent: 8/25/2010 11:42:05 AM

    I am attempting to add a computed field in Infomaker with the following expression:

    bitmap(“K:\dev_photos\"+string(customer_no)+".bmp")

    however I keep getting an error message saying "expecting STRING expression"

    I also tried: bitmap(“K:\dev_photos\"+customer_no+".BMP")

    what am I missing?

    Dale




    This message was sent automatically to you by www.tessituranetwork.com because you subscribed to the Tessitura Technical Forum. You may reply to this message to post to the Technical forum or visit the site to search, read and post to the forums. In the interest of keeping the forum posts from becoming cluttered, we encourage you to delete previous message text from your reply before sending. Thank you!
  • The worst kind of problem!  Glad you found it without too much delay.  Hate those nonsensical glitches.  I have been caught by the difference between ` and ' on many occasions.  You'd think I would learn eventually.