General information
Category:
Reports & Report designer
>>>
>>>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?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only