This looks like my code. Can you post your code? Post the call to exewait and exewait. Also if you have a similar case statement to mine then which one is running and what are the values being passed?
For example, see below:
IF !EMPTY(lcshort) .AND. !EMPTY(lcpath)
lcpath = "'"+lcpath+"'"
SET DEFAULT TO &lcpath
set step on
llacordok = ExeWait(lcshort,lcline+hdir+xacordform+'.xfdf',lcpath)
ELSE
llacordok = ExeWait( m.cAppName, lcline+xacordform+'.xfdf',hdir)
ENDIF
>
>Would you be able to run the program (or do from memory) what is being passed in for all 3 params for both calls to ExeWait()? That would help a LOT (I have tried lots of things).
>
>Thanks,
>Albert Gostick
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"