I have no experience with this whatsoever, but my guess is to use Automation for this.
Is this (if you know) possible with .NET or VB or ... ? Probably it's using a library of some kind. Try to use this library as well in C/SIDE(OCX or Automation).
i have this code but i can´t find the right code to run the function in the modul.
IF ISCLEAR(AccessApp) THEN
CREATE(AccessApp);
AccessApp.Visible(FALSE);
AccessApp.OpenCurrentDatabase('D:\Test.mdb',FALSE,'');
AccessModules:=AccessApp.Modules;
IF AccessModules.Count>0 THEN BEGIN
AccessModule:=AccessModules.Item(0);
// here comes something to run the function in the modul
// i have tried so many things but i can´t find the right code
// AccessApp.Run(AccessModule.Name);
END;
AccessApp.Quit;
IF NOT ISCLEAR(AccessApp) THEN
CLEAR(AccessApp);
no idea since I haven't done any access programming. May be this will help: http://www.add-in-world.com/katalog/techinfo-api/
Otherwise search microsoft technet or use the object browser of visual studio combined with the help function to get information about the Access API.
Comments
Is this (if you know) possible with .NET or VB or ... ? Probably it's using a library of some kind. Try to use this library as well in C/SIDE(OCX or Automation).
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
i have this code but i can´t find the right code to run the function in the modul.
have someone an idea for running my function?
Thanks
Kind regard
Silvia
Silvia
no idea since I haven't done any access programming. May be this will help: http://www.add-in-world.com/katalog/techinfo-api/
Otherwise search microsoft technet or use the object browser of visual studio combined with the help function to get information about the Access API.
Alex