PB调用存储过程,有多个返回值时应该怎么取得返回的值(急)
老赵说高考 2007-01-07 07:23:19 //调用存储过程
string all_yingshou,all_LateFee, all_preincome,all_prepayout, all_shishou, all_pre
DECLARE pro1 PROCEDURE FOR dbo.pro_fee_report
@in_paystart=:tab_1.tabpage_1.em_1.text,
@in_payend=:tab_1.tabpage_1.em_2.text,
@in_uidstart=:uid_start,
@in_uidend=:uid_end,
@all_yingshou=:all_yingshou output,
@all_LateFee=:all_LateFee output,
@all_preincome=:all_preincome output,
@all_prepayout=:all_prepayout output,
@all_shishou=:all_shishou output,
@all_pre=:all_pre output;
execute pro1;
//messagebox('11',string(SQLca.sqlcode))
fetch pro1 into :all_yingshou,:all_LateFee,:all_preincome,:all_prepayout,:all_shishou,:all_pre;
close pro1;
测试的时候SQLca.sqlcode返回-1,请大家帮我看看应该怎么写????