Mensaje
De
23/11/2006 10:35:17
 
 
a
23/11/2006 10:04:33
General information
Foro:
Visual FoxPro
Category:
Programación, sintáxis y comandos
Environment versions
Visual FoxPro:
VFP 7 SP1
Miscellaneous
ID de la conversación:
01172057
ID del mensaje:
01172069
Views:
131
This message has been marked as the solution to the initial question of the thread.
Macro expansion stops at the first period (.)! Use name expression in stead.
lcPrinter=alltrim(Imprimantes.imprim)
Set printer to name (lcPrinter)
>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?
Previous
Next
Responder
Mapa
Ver