Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>>>
>>>Using SET PRINTER TO NAME ... you may print to different printers. Do not forget to clean up 'default' printer definitions from FRX table.
>>
>>Yes, but how do I use a variable/combobox value for the name? I've tried SET PRINTER TO NAME &CBOVALUE where CBOVALUE is set to the current value of the combo box...thanks for the reply
>
>I guess that you may try
>SET Printer to NAME (cValue)
>where cValue=thisform.mycombo.value
>I believe you know that APRINTERS returns 2-dimensional array, and you use correct column for combo. Again, do not forget to clen FRX file first.
SHEESH! I don't know why I didn't think of using name replacement instead of macro...but now another question, what do you mean by cleaning the FRX file?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement