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?