>>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