Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COtheres a sysdba.lot_recap_all, and a sysdba2.lot_recap all. when the user looks at the report with the login as sysdba i want them to see the report populated with data frm sysdba.lot_recap_all, and if they log in as sysdba2 i want them to see the report with data populated with data from sysda2.lot_recap_all. The only way i've found so far is to go in and create 2 different reports, and thats what im trying to avoid. If i do that i have to go in and edit all 300 reports manually, and then i have to go manually insert a statement to redesign where the report points to based on the login,
      singulars
    2. CObecause the select statement that i showed you looks for the fully quakified table, theres not a way to look at just 'LOT_RECAP_ALL' i dont want sydba to have access to sysdba2 and vice versa, i want to force crystal to pull from either sysdba or sysdba2 based on my logins with out having to go in and do them manually
      singulars
    3. COWell, the simplest solution would be to remove the schema qualifier from the select. If you can't change the select statement with the fully qualified table, I see no way to trick oracle into using a different table. Is LOT_RECAP a view or a table? If it's a view, you can still use my approach: rename it, use my view which selects from the renamed originals, do the grants and query with userid=USER. Or there is some way in crystal, but that I don't know of.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload