update PrescriptionInfoSearch in PharmacyDataTier to include the physicianID and medID parameters
This commit is contained in:
parent
a7aad8153f
commit
5d0cb722c0
@ -492,7 +492,7 @@ namespace Louis__Pharmacy_CNSA212_FP
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public static DataSet PrescriptionInfoSearch(string rxID, string patientID)
|
public static DataSet PrescriptionInfoSearch(string rxID, string patientID, string medID, string physID)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@ -508,6 +508,8 @@ namespace Louis__Pharmacy_CNSA212_FP
|
|||||||
// Define input parameter
|
// Define input parameter
|
||||||
cmdString.Parameters.Add("@rxID", SqlDbType.VarChar, 11).Value = rxID;
|
cmdString.Parameters.Add("@rxID", SqlDbType.VarChar, 11).Value = rxID;
|
||||||
cmdString.Parameters.Add("@patientID", SqlDbType.VarChar, 8).Value = patientID;
|
cmdString.Parameters.Add("@patientID", SqlDbType.VarChar, 8).Value = patientID;
|
||||||
|
cmdString.Parameters.Add("@physicianID", SqlDbType.VarChar, 8).Value = physID;
|
||||||
|
cmdString.Parameters.Add("@medID", SqlDbType.VarChar, 8).Value = medID;
|
||||||
// adapter and dataset
|
// adapter and dataset
|
||||||
SqlDataAdapter aAdapter = new SqlDataAdapter();
|
SqlDataAdapter aAdapter = new SqlDataAdapter();
|
||||||
aAdapter.SelectCommand = cmdString;
|
aAdapter.SelectCommand = cmdString;
|
||||||
|
Loading…
Reference in New Issue
Block a user