x-lours has asked for the wisdom of the Perl Monks concerning the following question:
Hello everybody, i try to open a form in Access by using Win32::OLE. here is my code :
$access_obj = Win32::OLE->new('Access.Application') or die "utilisatio +n_ACCESS:Oops, cannot start Access"; $access_obj->OpenCurrentDatabase($source_access) ; $access_obj->{'Visible'} = 1; # ouverture du formulaire de l'ACCESS $access_obj->DoCmd->OpenForm('Formulaire1') or warn "Impossible d'ouvr +ir le formulaire:$!\n"; # fermeture de l'ACCESS $access_obj->Quit();
i copy it from "http://www.perlmonks.org/?node_id=762359" but i get the message "Impossible d'ouvrir le formulaire:No such file or directory" ! (the warning) and can't explain why. the name is correct. i try to replace ' by " and it does the same ... any help please ? ;-)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Problem to open form in Access
by kcott (Archbishop) on Jun 29, 2012 at 16:23 UTC | |
by Anonymous Monk on Jun 29, 2012 at 17:17 UTC | |
by x-lours (Sexton) on Jul 03, 2012 at 14:12 UTC | |
by x-lours (Sexton) on Jul 03, 2012 at 14:58 UTC | |
Re: Problem to open form in Access
by Anonymous Monk on Jun 29, 2012 at 13:20 UTC | |
by x-lours (Sexton) on Jun 29, 2012 at 15:36 UTC | |
by Anonymous Monk on Jun 29, 2012 at 19:12 UTC |
Back to
Seekers of Perl Wisdom