Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Feature not available
Message
De
15/04/2003 16:33:31
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Feature not available
Divers
Thread ID:
00778045
Message ID:
00778045
Vues:
89
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform