Re: Stored procedure parameters with TADODataset or TADOCOmmand



change your sp to this .. in a tadodataset

select max(id) as LastId from table where somevalue=:sumvalue


The check fieldbyname('lastid') for the value.



.