Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Function not available in VFP5.0
Message
De
25/11/1997 09:11:01
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00062007
Message ID:
00062130
Vues:
19
>>I'm getting a "Function not available" error message with one of my apps... It doesn't occurr on my development machine but on one of the client machines, a generic P166/32MB
>>
>>Any ideas?
>>
>>-Craig
>
>Craig...
> I've gotten a "Feature not available" when I attempt to run an executable with commands that were not compiled into the .EXE but run fine while developing. Anywhere that you have a macro substituted command will not be compiled (Because the command isn't there until it runs!) If you have a SQL-Select in only one place in the program, and it has a macro substitution in it, the code for performing SQL's will not be included in the .EXE!
>
>How to overcome this? Place a dummy command somewhere else. Example...
>
>
>SELECT * FROM &cFileName INTO CURSOR blah
>
>IF .F.
> SELECT * FROM nothing
>ENDIF
>
>Hope this helps!

Sorry, do you really think that any Select-SQL using macro substitution requires this dummy idea. It's kind of 'revolution' in Foxpro programming.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform