At 10:43 AM 2/26/2014, Mike Byerley wrote:
Do I need to be a time traveler to use this Property? ;-)
Mike,
With your flux capacitor "fluxing", set the intended destination to
March 20, 2014.
Very Best R:egards,
Razzak.
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of A.
> Razzak Memon
> Sent: Wednesday, February 26, 2014 12:00 AM
> To: RBASE-L Mailing List
> Subject: [RBASE-L] - Re: How to "clear" PDF viewer.
>
> At 03:37 PM 2/25/2014, Mike Byerley wrote:
>
> >As I said, you can store it in the db.
> >
> >There is no detectible delay doing this:
> >
> >SET VAR vpdf VARBIT = NULL
> >SELECT blobdata INTO vpdf IND vIn0 FROM intblob WHERE blobname =
> 'BlankPdf'
> >WRITE .vpdf TO myblank.pdf
> >PROPERTY pdfone FILENAME 'MyBlank.Pdf'
> >RETURN
>
> Mike,
>
> The resilient eXpanded R:Dream Team has a more eloquent R:BASE
> solution!
>
> PROPERTY PDFViewerCompID CLEAR 'TRUE'
> RETURN
>
> The property "CLEAR" and the value "TRUE" will clear the previously
> loaded file, if any.
>
> For your viewing pleasure ...
>
> Here is a perfect example to demonstrate the use of this cool property.
>
> 01. The Default (with Slider ...)
> www.razzak.com/tips/PDFViewer_01.jpg
>
> 02. Load PDF Document ...
> www.razzak.com/tips/PDFViewer_02.jpg
> -- Load PDF Document
> -- Author: A. Razzak Memon
> -- Date Created: February 25, 2014
> -- Last Updated:
> PROPERTY PDFVIEWER FILENAME '95ReasonstoUpgradeToRBASEeXtreme.pdf'
> SET VAR vPDFPageNumber TEXT = NULL
> SET VAR vPDFPageCount TEXT = NULL
> SET VAR vPDFPage TEXT = NULL
> GETPROPERTY PDFViewer PAGENUMBER vPDFPageNumber
> GETPROPERTY PDFViewer PAGECOUNT vPDFPageCount
> SET VAR vPDFPage = (.vPDFPageNumber &'of'&.vPDFPageCount)
> PROPERTY LblPages CAPTION .vPDFPage
> PROPERTY PDFViewer ZOOM '65'
> PROPERTY RBASE_FORM_ACTION CheckZoom ''
> CLEAR VAR vPDFPageNumber,vPDFPageCount,vPDFPage
> RETURN
>
> 03. Clear PDF Viewer ...
> www.razzak.com/tips/PDFViewer_03.jpg
> -- Clear PDF Viewer
> -- Author: A. Razzak Memon
> -- Date Created: February 25, 2014
> -- Last Updated:
> PROPERTY PDFViewer CLEAR 'TRUE'
> RETURN
>
> It's amazing (and mind boggling for some), how things work here at
> RBTI.
>
> Enjoy!
>
> Very Best R:egards,
>
> Razzak.
>
> www.rbase.com
> www.facebook.com/rbase
> --
> 31 years of continuous innovation!
> 16 Years of R:BASE Technologies, Inc. making R:BASE what it is today!
> --