Doug,
Is the DBcheckbox a variable by nature?  That may seem to make sense if that was the case.  On other tests, I left the cursor in a dbedit field and it printed fine.  I will test again by leaving it in a variable and then doing a print
What "getproperty" are you talking about?
Thanks for the advice,
Bob C.



Doug Hamilton <[EMAIL PROTECTED]>
Sent by: [email protected]

02/15/2005 08:30 AM

Please respond to
[email protected]

To
[email protected] (RBG7-L Mailing List)
cc
Subject
[RBG7-L] - Re: Print data from form





Bob, I just ran into a similar situation and Larry Lustig pointed me in the right direction.
Could it be that your "Print" button is a focus-less control and (quoting from Larry) " focus never leaves your variable edit field (the DB checkbox in your case), and the variable itself never gets updated."
This seems reasonable, esp since the non-printing box is the last one - focus never leaves it and it doesn't get updated for the printing.
I added a GETPROPERTY to read my variable
Just a long shot.
Doug


[EMAIL PROTECTED] wrote:

I am answering my own email  - I did find an unusual behavior in this print routine after additional testing.  If you have check boxes, and they are the last thing entered on the form, the LAST one you check will be a blank box.  Fields work fine - you see the cursor dissappear while printing, but everything prints.  Just some oddity with this property, I guess.....



[EMAIL PROTECTED]
Sent by:
[email protected]

02/14/2005 07:54 PM

Please respond to
[email protected]


To
[email protected] (RBG7-L Mailing List)
cc
Subject
[RBG7-L] - Re: Print data from form








This is WAY too cool.

Nice little routine.  I did find one little glitch.  I tested this on a form with some DB checkboxes checked.  The whole form matched a screen print, with the exception of ONE checkbox check not printing, it just printed the box.  I'll have to play with this to see what was different about that checkbox, I think it was the last thing I did on the form.

In any event, what a great useful feature.

BC

"A. Razzak Memon" <[EMAIL PROTECTED]>
Sent by:
[email protected]

02/14/2005 10:09 AM

Please respond to
[email protected]


To
[email protected] (RBG7-L Mailing List)
cc
Subject
[RBG7-L] - Re: Print data from form









At 09:52 AM 2/14/2005, Bob Castanaro wrote:

>I think I saw something on this list a short time ago that
>described how you could print your form (or at least the data)
>from a button eep with the help of some sort of property command.
>Does anyone remember how to do this?


Bob,

Ask and you shall receive!

PROPERTY RBASE_FORM PRINT 'PRINTER'
RETURN

Use that command as an embedded EEP for a button on the form.

For complete details:

R:Docs | Build Syntax for PROPERTY Command ...

Have fun!

Very Best R:egards,

Razzak.




Reply via email to