Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Feature not available
Message
From
15/04/2003 16:33:31
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Feature not available
Miscellaneous
Thread ID:
00778045
Message ID:
00778045
Views:
88
Hi all,

I can run this piece of code from VFP IDE without problem. I have an error: "1001. Feature is not available" when ran from an EXE.
close data all
open data (cStruDBC) && source of stored procedures
cStruTimeStamp = dbgetprop('strudbc','database','comment')
copy procedures to 'struprocs.txt'
close database all
open data (cDataDBC) && target database
set database to (cDataDBC)
=dbsetprop('datadbc','database','comment',cStruTimeStamp)
*-- check if the procedure is null or empty
struContents = filetostr('struprocs.txt')
if empty(struContents) or isnull(struContents)
else
   append procedures from 'struprocs.txt' overwrite && error occurs here!!!
endif
erase struprocs.txt
ramil
~~ learning to stand still
Next
Reply
Map
View

Click here to load this message in the networking platform