Discussion:
Set Resource To problem
(too old to reply)
damezumari
2010-05-23 09:49:17 UTC
Permalink
I use vfp9 sp2 and winxp.

In development environment I type 'set resource to maxpreview' in the
command window.

My intention is to preview a report in the development environment,
maximise the report and reposition the preview toolbar. I will then
include maxpreview.dbf in myproject and in the code SET RESOURCE TO
maxpreview before REPORT FORM.

The sad thing, however, is that when I issue 'set resource to
maxpreview' I get an error message saying 'Cannot open file ...
maxpreview.dbf'.

Do I create the table first? If yes, how?

Regards,

Jan
Dan Freeman
2010-05-23 13:52:46 UTC
Permalink
Post by damezumari
I use vfp9 sp2 and winxp.
In development environment I type 'set resource to maxpreview' in the
command window.
My intention is to preview a report in the development environment,
maximise the report and reposition the preview toolbar. I will then
include maxpreview.dbf in myproject and in the code SET RESOURCE TO
maxpreview before REPORT FORM.
The sad thing, however, is that when I issue 'set resource to
maxpreview' I get an error message saying 'Cannot open file ...
maxpreview.dbf'.
Do I create the table first? If yes, how?
Regards,
Jan
USE (sys(2005) AGAIN
COPY STRU TO maxpreview
USE

Dan
damezumari
2010-05-23 15:02:27 UTC
Permalink
Post by Dan Freeman
Post by damezumari
I use vfp9 sp2 and winxp.
In development environment I type 'set resource to maxpreview' in the
command window.
My intention is to preview a report in the development environment,
maximise the report and reposition the preview toolbar. I will then
include maxpreview.dbf in myproject and in the code SET RESOURCE TO
maxpreview before REPORT FORM.
The sad thing, however, is that when I issue  'set resource to
maxpreview' I get an error message saying 'Cannot open file ...
maxpreview.dbf'.
Do I create the table first? If yes, how?
Regards,
Jan
USE (sys(2005) AGAIN
COPY STRU TO maxpreview
USE
Dan
Hi Dan,

Thank you! Worked like a charm.

Regards,

Jan

Continue reading on narkive:
Loading...