Sorry for the lack of detail. I am using Crystal version 11.
I am not pre-populating the Available Select List in the parameter dialogue box this is being done using the Crystal Parameter builder itself.
The data is being retrieved via a view and the select statement is as follows:-
SELECT
Country = s.SiteAddress6,
Site = s.CentreID,
Investigator = s.Investigator,
[Patient Status] = CASE WHEN p.StatusID = 1 THEN 'Screened'
WHEN p.StatusID=6 AND P.DiscComp=2 THEN 'Completed'
WHEN p.StatusID=6 AND P.DiscComp=1 THEN 'Dropped'
WHEN p.StatusID=6 AND P.DiscComp IS NULL THEN 'Dropped'
WHEN p.StatusID=3 THEN 'Screen Failure'
WHEN p.StatusID=5 THEN 'Randomised'END,
PatientNumber = p.Code,
VisitDescription = lt.[Source],
VisitDate = pv.ActualDate,
KitNumberDispensed = (SELECT dbo.ufn_GetAllMaterialsForThisVisitCommaSeparated(p.PatientID, vd.[Sequence]))
FROM tblSites s
JOIN tblPatients p
ON s.SiteID = p.SiteID
LEFT OUTER JOIN tblPatientVisits pv
ON p.PatientID = pv.PatientID
LEFT OUTER JOIN tblVisitDesign vd
ON pv.VisitID = vd.VisitID
LEFT OUTER JOIN tblPatientVisitMaterials pvm
ON pv.PatientVisitID = pvm.PatientVisitID
LEFT OUTER JOIN tblMaterials m
ON pvm.MaterialID = m.MaterialID
LEFT JOIN FCS_FACTS_DB1.Security.dbo.tblLocaleText lt
ON vd.DescriptionTextID = lt.TextID
AND lt.LanguageID = 1
AND lt.TypeID = 0
WHERE pv.ActualDate IS NOT NULL
As stated all the data I am expecting is returned to the report until I introduce a parameter on Patient Code, there are some 3,000 patients in the database. I am wondering what type of object is used to hold the "Available Values" and whether there is a limit to what it can hold.
Regards.
Di