Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Toggling Resource Files
Message
From
25/02/2004 12:56:20
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Toggling Resource Files
Miscellaneous
Thread ID:
00880784
Message ID:
00880784
Views:
71
Hi all,

I created a resource file called noprint.dbf which doesn't have the print option when you preview a report. My default resource is called foxuser.dbf.

For the past couple of weeks, it worked fine. Then I started getting an error "File access is denied" at the line where I switch back to the default resource file.

My code is:

lcResource=SET("resource",1)
SET RESOURCE TO noprint.dbf

REPORT FORM MyReport PREVIEW

SET RESOURCE OFF
SET RESOURCE TO &lcResource

I'm using VFP 8.

Thanks in advance for any help you may be able to give


Rod Conner
Next
Reply
Map
View

Click here to load this message in the networking platform