Subject | Re: [IBO] Stored Procedure and Delphi Problem |
---|---|
Author | Geoff Worboys |
Post date | 2001-03-16T02:49:02Z |
> I am sure there is a simple solution to this, but I am nowWhere is SHOWID from? I presume the table that the stored procedure
> learning my way around Interbase / Delphi and any help would
> be appreciated.
is trying to insert into. This would seem to imply that the stored
procedure is not being called with the correct parameter required to
locate the details for the insert.
You may help avoid future problems if you setup your stored procedure
to check for NULL returns when it selects from the source table - and
generates an appropriate exception.
If you start up the SQLMonitor and execute the procedure, you should
be able to see what value is being passed to the procedure which may
well explain the error.
HTH
Geoff Worboys
Telesis Computing