The following code works in one project but not another:
proc.CommandText = "QryPatientData"
proc.CommandType = adCmdStoredProc
Set proc.ActiveConnection = Me.Connection
proc.Parameters.Refresh
proc.Parameters("@PID").Value = m_lngID
Set...