Does anyone have a crystal report that lists the custom list preferences for users. Particually looking for Problem Custom List preferences.
Thanks
Lori
I am going to monitor this as well , Lori I am guessing you are trying to eliminate problems custom list like I was last night for ICD-10 but couldn't due to them being assigned to users
I have an analysis developed in ACCESS. At as minimum, you can use the queries as a basis for a Crystal Report. Let me know if you are interested, [email protected].
Two separate SQL queries for CPS are below, (based on info from Dr. FitzGerald - thanks!)
We found it very helpful to troubleshoot who has the list preferences. If you're trying to remove custom lists that have users attached, you may want to remove the USR.STATUS part. What stinks about this is that the linking value is a string in one table and a number in another, so a simple report isn't possible.
SELECT USR.LOGINNAME, PREF.PREFNAME, PREF.PREFVALUE, USR.STATUS
FROM PREF INNER JOIN
USR ON PREF.DoctorFacilityId = USR.doctorfacilityid
WHERE (USR.STATUS = 'A')
SELECT QPICKS.*
FROM QPICKS
/* Note - Qpicks.QPID cross-refs to Pref.Prefvalue, but Prefvalue is string and QPID is numeric. I use vlookup in Excel to match them up. JDS
Julie,
You can use functions to convert Prefvalue to a number so that you can join the tables. In sql server the functions are called cast or convert. I am on oracle so I can't test it but it should look something like:
select *
from qpicks
inner join pref on (pref.prefname = "ProbCustomList" and qpicks.qpid = CAST(pref.prefvalue as Numeric(38,0)))
I had thrown together quick and dirty report to show anyone without smart list as their preferred custom problem list if anyone wants it.