erikhertzel
MIS
All,
CR 8.5
I have a formula that I am using for a field to calc. an amount in the database.
Here is the formula:
({OrderDtl.UnitPrice} * {OrderDtl.OrderQty}) - {OrderDtl.Discount}
When I add this field onto the formula, it won't return any data and I think it's because in this instance there is no data in the data range that I have , but in the future there could be.
({OrderDtl.UnitPrice} * {OrderDtl.OrderQty}) - {OrderDtl.Discount} - {OrderMsc.MiscAmt}
The {OrderMsc.MiscAmt} is the field giving me trouble. I don't use the Misc. Amount field very much and in this instance it's not being used in any of the records, so it's giving me a blank report. When I take this out, it works fine with the orginal formula and gives me hundreds of records.
How do I write the formula and I think it's something to do with the IsNull so that this will work correctly?
Thanks
CR 8.5
I have a formula that I am using for a field to calc. an amount in the database.
Here is the formula:
({OrderDtl.UnitPrice} * {OrderDtl.OrderQty}) - {OrderDtl.Discount}
When I add this field onto the formula, it won't return any data and I think it's because in this instance there is no data in the data range that I have , but in the future there could be.
({OrderDtl.UnitPrice} * {OrderDtl.OrderQty}) - {OrderDtl.Discount} - {OrderMsc.MiscAmt}
The {OrderMsc.MiscAmt} is the field giving me trouble. I don't use the Misc. Amount field very much and in this instance it's not being used in any of the records, so it's giving me a blank report. When I take this out, it works fine with the orginal formula and gives me hundreds of records.
How do I write the formula and I think it's something to do with the IsNull so that this will work correctly?
Thanks