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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

boolean operation to a field in BMPRDSTR_SQL?

Status
Not open for further replies.

tomasdebrun

Programmer
Feb 6, 2004
1
IE
Hi All,
I have been reading through some old crystal reports and have come across the following formula

Formula name:mad:BOM

IF NOT ISNULL({BMPRDSTR_SQL.item_no})
THEN 'Y'
ELSE ' '

I am not too familiar with this statement can anyone explain what operation does this perform on the data please?

Cheers
tomás
 
This looks like a report that is showing which items from the item master file has BOM's in the Product Structure file.

Most likely, the two tables involved are IMITMIDX_SQL and BMPRDSTR_SQL linked on imitmidx_sql.item_no = bmprdstr_sql.item_no

For any further information, it would help to see the thread that it came from.

Kevin Scheeler
 
This formula does the following:
if the item number is not a null value it will set the value of @BOM = 'Y' other wise it's value is ' ' or blank value. The isnull function returns a True / false value if the field is null. My guess is the formula was used to determine is a product structure existed for an item, it would print a "Y" on the report.




 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top