I have records returned from my DB into a BO report, however, I want to delete certain records. e.g All records that have an Product Code of 999, can I do this?
BO is a read-only tool, which means that actually deleting data is not an option (like in a spreadsheet)
However there are alternatives:
1. Modify the data-provider so that productcode 999 is not fetched from the database (add a condition in query panel)
2. Use a filter to suppress the productcodes 999.
To apply such a negative filter go to format --> filters
and add a filter (global or on a table/crosstab) on productcode.
Select define and enter a formula like:
=<productcode> <> '999'
This is all basic BO stuff covered in every basic training and also covered in the pdf manual, so I suggest investing some time there....
Whether you use option 1 or 2 depends on a number of things,
if the field productcode is not indexed applying a filter at report level may be more efficient
A word of caution: using straight SQL dataproviders is okay for testing, but do not make the mistake to go into production that way. You will notice that BO makes it's own judgement on objecttypes with raw SQL, whereas proper universe deployment will give you benefit of creating objects(types), setting up security and loads of other niceties.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.