Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Feature not available error
Message
From
16/12/2000 16:03:00
Steven Edge
Soft Solutions Limited
Lagos, Nigeria
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00454205
Message ID:
00454409
Views:
28
>>I have a method that generates my database from script when the user clicks 'New' on the File menu. All stored procedures is in a text file. To add them to the database I use the following command:
>>
>>APPEND PROCEDURES FROM ( m.cTempFile ) OVERWRITE
>>
>>This works fine within the development environment, but it crashes out in the run-time. I get error 1001, 'Feature not available.'

>My guess is that's because VFP6SP0 and below couldn't compile code at runtime.

I thought about that. However, the stored procedures are compiled with the command

COMPILE DATABASE

which is the next line of code I use, and the code DOES NOT generate errors there. So I am not so sure. Also, APPEND PROCEDURES is not listed as one of the commands that cannot run from the run time.

You write about VFP5SPO and below. Does this mean that in VFP7 this will be cahnged?

My main concern is if there is any way (short of hacking the run-time library!) around this? How do other people generate databases from code? Or they don't? Or they do but have no stored procedures in them?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform