Author Topic: Master Detail/Relationship (Compare numbers)  (Read 916 times)

Offline dbrooks74

  • Full Member
  • ***
  • Posts: 7
  • Forum Citizenship: +0/-0
Master Detail/Relationship (Compare numbers)
« on: 22 May 2010 01:19:49 am »
I have two sets of lists.  Unfortunately the way the two scripts are written my filter is comparing two values one is using the thousands comma and one is not.  So two values could be 1250 and the other would be listed as 1,250.  How do I filter the list?  Am getting an error when I try to do the standard "this field  = this field".  I think one is set for text and the other is a #.  :-(

 ??? ??? ??? ??? ??? ??? ??? ??? ??? ???

Offline MFGF

  • Never knowingly correct
  • Super Moderator
  • Statesman
  • ******
  • Posts: 2,898
  • Forum Citizenship: +137/-1
  • Cognos Software Muppet
Re: Master Detail/Relationship (Compare numbers)
« Reply #1 on: 26 May 2010 09:12:51 pm »
Try using the cast() function on one of the values to change its data type to match the other.  You should then be able to compare them successfully.

Regards,

MF.
Meep!