start Access Modul from Navision

FrogFrog Member Posts: 6
Hi,

Has anybody had experience about starting an Access-Module form Navision?

How can i embed the call of this Access-Module in Navision?

Thanks,

Kind regards,
Silvia
Thanks in advance
Silvia

Comments

  • WaldoWaldo Member Posts: 3,412
    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).

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • FrogFrog Member Posts: 6
    Hello,

    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); 
    
    

    have someone an idea for running my function?

    Thanks

    Kind regard
    Silvia
    Thanks in advance
    Silvia
  • AKAK Member Posts: 226
    Hi,

    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
Sign In or Register to comment.