access 2007 runtime - SetTempVar doesn't work

P

PrometeoSI

i need help about access 2007. i used the default macro ImpostaTempVar (maybe
SetTempVar in english. sorry but i'm italian) that creates a temp variable
(in this case a path like c:\... or \\192.168.1.1\...) that i use in order to
automatically save output there. this works in a system with access 2007
installed. however it doesn't work in systems where there's only access
runtime...
in this case i receive a strange error that i can translate in:
"command or action "SetTempVar" not available.
.... ..."
then i get the error 2950

is it possible that the macro isn't supported by access runtime ?
could the problem be that access runtime doesn't support italian macro very
well ? (so... a bug)
is there an alternative solution to do what i need ?

the "translated" code is:

in macro "path":
SetTempVar
write; “\\server_name\directory\â€

in macro "autoexec"
EseguiMacro (probably RunMacro)
path;

in macro “stampâ€
Outputsu (probably OutputOn)
Report; Estrazioni_PV; Formato PDF (*.pdf); =[TempVars]![write] &
"\estrazioni_pv.pdf"; No; ; 0; Stamp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top