values passed are dotted vars. Embedded command strings are ampersand variables.

try:

print CashDrawerRec where DrCompID = .vCashDrID option &vprnscrn

if that fails, try the command from the R> and see what happens.

----- Original Message ----- From: "TOM HART" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Wednesday, September 08, 2010 10:06 AM
Subject: [RBASE-L] - 9.0 printing issue


I have a form to enter some data and a button to print a receipt. Why would this EEP lockup Rbase. Under 7.6 there was no problem. It locks up right as
the little window comes up saying it is printing.  All the variables are
defined. The var vprnscrn I can set to 'printer' or 'screen' and it locks up
either way.

saverow
prnsetup .vprinter1
print CashDrawerRec where DrCompID = .vCashDrID option .vprnscrn
return

Tom Hart


--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]

(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE: Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body, place any text to search for.
================================================


Reply via email to