perlquestion
x-lours
<p> Hello everybody, i try to open a form in Access by using Win32::OLE. here is my code :</p>
<code>$access_obj = Win32::OLE->new('Access.Application') or die "utilisation_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'ouvrir le formulaire:$!\n";
# fermeture de l'ACCESS
$access_obj->Quit();</code>
<p> 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 ? ;-)</p>