D
Dave
I am converting to an ADP and I am trying to replace a sql statement in a
form record source with a stored procedure. I added the parameter needed by
the stored procedure to the Input Parameters. Everytime the form opens I get
an error. It is not a problem with the stored procedure because it runs fine
from SQL Mgmt console or from a VB.Net application, so this has to be yet
another peculiarity of Access. Here are the values of each property
Record Source: sp_Get_Physician_Data
Input Parameters: @PhysicianName string = g_PhysicianName
The global variable g_PhysicianName is defined as I verified that while in
debug mode right before the DoCmd.OpenForm. I have alos tried hard coding a
value in place of the global variable.
Can anyone tell me if this is really supported and if so perhaps show a
working sample/snippet.
form record source with a stored procedure. I added the parameter needed by
the stored procedure to the Input Parameters. Everytime the form opens I get
an error. It is not a problem with the stored procedure because it runs fine
from SQL Mgmt console or from a VB.Net application, so this has to be yet
another peculiarity of Access. Here are the values of each property
Record Source: sp_Get_Physician_Data
Input Parameters: @PhysicianName string = g_PhysicianName
The global variable g_PhysicianName is defined as I verified that while in
debug mode right before the DoCmd.OpenForm. I have alos tried hard coding a
value in place of the global variable.
Can anyone tell me if this is really supported and if so perhaps show a
working sample/snippet.