|
Home > Archive > Getting Started with dBASE > November 2006 > Print Preview leaves table open?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Print Preview leaves table open?
|
|
| Forrest Ganther 2006-11-09, 12:12 am |
| I want to print a series of tables, (book1, book2, book3 etc)
I set up a loop to copy these tables one at a time, print
that book, increment the number (1,2,3 etc) and print again,
without any further operator action.
I am using the "preview.wfm" from DUFLP to view/print the
report.
The first book prints fine! But on 2nd book, I get an
error, "table in use", I reasonably sure I closed the
tables properly, and am wondering if the problem is
in the "preview.wfm" somehow not closing the table
when closing?
Appreciate any help
Forrest
| |
| Thorsten Hill 2006-11-09, 5:17 am |
| Hello,
do you close the report before you close the table?
form.reportviewer1.filename = ""
Then change the table and reopen it...
| |
| Forrest Ganther 2006-11-09, 7:14 pm |
| That was the problem! Thanks very much Thorsten!
Forrest
"Thorsten Hill" <nospam@thank.you> wrote in message
news:qM8Uci9AHHA.1136@news-server...
> Hello,
> do you close the report before you close the table?
>
> form.reportviewer1.filename = ""
>
> Then change the table and reopen it...
>
|
|
|
|
|