alltrim(Imprimantes.imprim) and oApp.cNomImprim contain the same string
lcPrinter = "set printer to name alltrim(Imprimantes.imprim)"
&lcPrinter
No problem after execution
lcPrinter = "set printer to name oApp.cNomImprim"
&lcPrinter
After that execution I receive Error accessing printer spooler (Error 1957)
What's wrong here?
*******************************************************
Save a tree, eat a beaver.
Denis Chassé