Output Parameters

Output Parameters

Forum member · Jun 12, 2007
Okay, next question: I have an SP called Report_DriverSettlementHeader The parameters it uses are "DriverId" and "SettlementId". These are passed from the querystring (thanks to your excellent directions). This returns the following: DriverName, DriverAddress, DriverCity, DriverState, DriverZip. The SP ALSO returns an additional select which contains: @SettlementDate, @YTDEarnings, @PreSettlementBalance, @PostSettlementBalance. Since these are a secondary select withing the Stored Proc is there any way to call them? Using #YTDEarnings# in a Record Area or YTDEarnings in a RecordBox doesn't call them. Any ideas or will I have to write an additional seperate query for these?

Re: Output Parameters

Support · Jun 12, 2007
Hello, You can call the secondary select using the events and DataReaderRecordSet class but it will get little complicated. The easier way would be to write an additional query to access these parameters. Thanks, ceTe Software Support Team