doraemon18
MIS
i have a SP that goes like this..
Create proc policy_details
@policy_num as integer
select policy_number,amount_insured
FROM policy INNER JOIN policy_details ON policy.policy_number = policy_details.policy_number
WHERE policy_number = @policy_num
go
I also have a listbox on the form and i want to use the stored procedure "policy_details" to populate the listbox.can anyone help me?
Create proc policy_details
@policy_num as integer
select policy_number,amount_insured
FROM policy INNER JOIN policy_details ON policy.policy_number = policy_details.policy_number
WHERE policy_number = @policy_num
go
I also have a listbox on the form and i want to use the stored procedure "policy_details" to populate the listbox.can anyone help me?