I
Inge Buller
Hi!
When I right-click on a SP in a adp, I can run the SP. Any errors coming
from a RAISERROR in the SP will be shown in a messagebox.
How can I get the same behaviour when I run the SP from a button on a form?
This is the code I´m using:
DoCmd.OpenStoredProcedure "MySP", acViewPreview, acReadOnly
This way I´m not getting any error info in Acces, I only see an OLE-object
error.
Anyone kows how I can get to the error? The whole idea is to use Access as a
"test GUI", so i am NOT interested in using ADO code explicitly (saving that
for the real GUI...).
Thx,
When I right-click on a SP in a adp, I can run the SP. Any errors coming
from a RAISERROR in the SP will be shown in a messagebox.
How can I get the same behaviour when I run the SP from a button on a form?
This is the code I´m using:
DoCmd.OpenStoredProcedure "MySP", acViewPreview, acReadOnly
This way I´m not getting any error info in Acces, I only see an OLE-object
error.
Anyone kows how I can get to the error? The whole idea is to use Access as a
"test GUI", so i am NOT interested in using ADO code explicitly (saving that
for the real GUI...).
Thx,