Hi,
I want to open an procedure in access project and pass the parameters.
I used the below code to open the access project.This creates an new instance.
I want to open the already opened access project.
In the below code XXX.Open_Form is the procedure name and strFormName and strid are the
parameters for the Open_form.
oAccess=new Access.Application();
string strPath=@"E:\Test.adp"; oAccess.OpenAccessProject(strPath,false);
object oMissing=System.Reflection.Missing.Value;
object strFormName="frmTest";
object strTicketId= "3222";
oAccess.Run("XXX.Open_form", ref strFormName, ref strid , ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing ,ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing ,ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing )