John Baird
Coatesville, Pennsylvanie, États-Unis
Information générale
Catégorie:
Codage, syntaxe et commandes
>>Below is a method of my program that allows changing index order on a grid header click(). This worked fine until today. I am getting calls from all over the country about the "contains unknown command" error.
>>
>>The error is occuring on the this line:
>>
>> SET ORDER TO &lcIndexName &lcOrder
>
>What is the value of lcOrder? Unless it is blank, you have a syntax error. Double check your SET ORDER TO command in the help.
>
Sorry about the Gentlemen: It was meant as a non-sexist collective, howabout Fellow Foxpro programmer's? <g>
lcOrder contains either 'ASCEND' OR 'DESC'
Anyway, even if lcOrder is blank, the command would still be:
SET ORDER TO tempfilename (a valid command)
The question was:
Why did it work with macro expansion on the tempfile name until now, and now works with name expression but not macro expansion?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement