access 2007 runtime - SetTempVar doesn't work

  • Thread starter Thread starter PrometeoSI
  • Start date Start date
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
 
Back
Top