G
Guest
Get Error "No value given for one or more required parameters."
Code:
SELECT * from PatientSummary WHERE PatientSummaryDate=(SELECT
max(PatientSummaryDate) FROM PatientSummary WHERE MasterPatientID=?) AND
MasterPatientID=?
Then:
OleDbSelectCommand1.Parameters("MasterPatientID").Value = MasterPatientID
Appears that Parameter value not applied to both "?"
Thanks
Code:
SELECT * from PatientSummary WHERE PatientSummaryDate=(SELECT
max(PatientSummaryDate) FROM PatientSummary WHERE MasterPatientID=?) AND
MasterPatientID=?
Then:
OleDbSelectCommand1.Parameters("MasterPatientID").Value = MasterPatientID
Appears that Parameter value not applied to both "?"
Thanks