Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Modify Current Formula 1

Status
Not open for further replies.

Crystalfire

Programmer
Jan 29, 2002
315
US
This formula limits the AccountID's I need to see. I had a request to also show the account # 30850000 but not any accounts between 3080000 and 30850000. How would I modify this formula. Thanks!


{RECEIVABLE_DIST.POSTING_DATE} = {?POSTING DATE} and
{RECEIVABLE.INVOICE_ID} = "INV-10355" and
{RECEIVABLE_DIST.GL_ACCOUNT_ID} in "3010000" to "3080000"
 
Try this

Code:
{RECEIVABLE_DIST.POSTING_DATE} = {?POSTING DATE} and
{RECEIVABLE.INVOICE_ID} = "INV-10355" and
{RECEIVABLE_DIST.GL_ACCOUNT_ID} in "3010000" to_ "30850000"

the to_ will exclude 30850000
 
I need to see 30850000 but not anything less than 3085000 and greater than 3080000.
 
Write it this way:

{RECEIVABLE_DIST.POSTING_DATE} = {?POSTING DATE} and
{RECEIVABLE.INVOICE_ID} = "INV-10355" and
{RECEIVABLE_DIST.GL_ACCOUNT_ID} in ["3010000" to "3080000","30850000"]

~Brian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top