Page 1 of 1

Report Designer Expression causing other variable to disappe

Posted: 23 Sep 2014, 21:40
by Cozza
Hi there,

I'm creating a price list report & have a nested if statement that makes another variable disappear and I am unable to figure out why?

PRICE.STOCK_CODE In ("PRODUCT") and CURRENCY In (2) ? LISTPRICE1*1.3333

When the code is PRICE.STOCK_CODE In ("PRODUCT") ? LISTPRICE1*1.3333 everything works perfectly, however when I add and CURRENCY In (2) the stock.description field disappears and I don't know why? Note: STOCK.Description disappears on every currency & the formula actually works, ie. Listprice1 is only multiplied by 1.3333 when currency = 2, just the stock.description field disappears?

Also, is the "IN" ("product") the best thing to use? is IN the same as IS?

Re: Report Designer Expression causing other variable to dis

Posted: 23 Sep 2014, 22:11
by Cozza
Fixed. I added Price_List. before Currency and everything is back to working normally. I only had currency there because that's what came up when I selected Currency from the dialog box in the expression editor?

I suppose all I need an answer for is this: Also, is the "IN" ("product") the best thing to use? is IN the same as IS?

Thanks Bruce, you're a champ!

Re: Report Designer Expression causing other variable to dis

Posted: 24 Sep 2014, 11:38
by brucedenney
I'm a champ and I didn't even do anything!