Home Page link  

strings comparing in Receipt Template Language

 

Point-Of-Sale Software - - MS Point Of Sale software discussed here 

get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
strings comparing in Receipt Template Language =?Utf-8?B?UGlvdHJlayBTxYJvd2nF? 05-31-2006
Posted by =?Utf-8?B?UGlvdHJlayBTxYJvd2nF? on May 31, 2006, 10:23 am
Please log in for more thread options
hello,
does anybody knowo if is that possible in Receipt Template Language of RMS
to compare two string values ? In expression like
<if>
<condition>(strVal1 = strVal2)<condition>
<then>
...
<then>
</if>
RMS always returns true. It seems that equel operator '=' works fine only
for number values not for strings. Is there any trick to work around it ?


Posted by martin on August 24, 2006, 9:25 am
Please log in for more thread options
I have the same problem.
It would be great if I could compare strings in the receipt.
For instance I need to print a different Transactiontype if the
tender.descriptor.description has a special value.

best regards,

Martin

"Piotrek Słowiński" wrote:

> hello,
> does anybody knowo if is that possible in Receipt Template Language of RMS
> to compare two string values ? In expression like
> <if>
> <condition>(strVal1 = strVal2)<condition>
> <then>
> ...
> <then>
> </if>
> RMS always returns true. It seems that equel operator '=' works fine only
> for number values not for strings. Is there any trick to work around it ?
>

Similar ThreadsPosted
Report Template Language Definistion Files September 16, 2005, 12:56 am
Report Template Language Definition Documentation November 22, 2006, 3:00 pm
Receipt Template? December 28, 2005, 9:15 pm
Items On receipt Template August 31, 2005, 11:03 am
Modify receipt template March 23, 2006, 5:15 pm
Receipt template questions. Need help please! October 23, 2006, 1:22 pm
Receipt template variables September 6, 2007, 1:26 pm
Receipt Template with overall discount October 13, 2007, 9:07 am
Receipt Template XML Coding October 7, 2009, 6:01 pm
Receipt template for Epson U220PD October 4, 2005, 11:39 pm

Contact Us | Privacy Policy
This site is not affiliated with Intuit - makers of Quickbooks and Quicken software
This site is not affiliated with Sage Software - makers of Peachtree accounting software
XML SitemapXML Sitemap