Haggis
20th February 2003, 18:02
Hi
I posted a question a while ago about this and got some solutions, then got pulled onto another project so have only returned to this problem now.
Basically I created a display session that shows sales orders and their weights. The problem I have is that I need to exclude sales orders in the display where tdsls401.clyn = "yes". The solution I got last time was to use query.extension = "tdsls401.clyn = tcyesno.yes"
It compiles but gives me a syntax error in expression message. I have the feeling this is because the table tdsls401 is not part of the underlying select statement Baan generates. But am I correct is saying query.extension only accesses the WHERE part of the Select statement? Is there a way to add that table or am I barking up the wrong tree and my syntax error is because of something else?
I can post the error message as it stands if need be.
Thanks
I posted a question a while ago about this and got some solutions, then got pulled onto another project so have only returned to this problem now.
Basically I created a display session that shows sales orders and their weights. The problem I have is that I need to exclude sales orders in the display where tdsls401.clyn = "yes". The solution I got last time was to use query.extension = "tdsls401.clyn = tcyesno.yes"
It compiles but gives me a syntax error in expression message. I have the feeling this is because the table tdsls401 is not part of the underlying select statement Baan generates. But am I correct is saying query.extension only accesses the WHERE part of the Select statement? Is there a way to add that table or am I barking up the wrong tree and my syntax error is because of something else?
I can post the error message as it stands if need be.
Thanks