yep. Thanks Mark!
>Maybe you have a relation set into another table from TmpState where the BROWSE is actually required to set that relation on a real record in the related table? IIRC, this used to be a bug in VFP earlier versions. Maybe it still is. Anyway, see if this resolves your problem.
>SELE TmpState
>LOCATE
>IF NOT EOF()
> SKIP
>ENDIF
>LOCATE
>REPORT FORM...
>
>>This works:
>>
>> SELE TMPSTATE
>> GO TOP
>>
>> BROWSE
>>
>> REPORT FORM ap_state NOCONSOLE TO PRINTER NEXT nprintno
>>
>>This does not:
>>
>> SELE TMPSTATE
>> GO TOP
>>
>>* BROWSE <--If I check the alias() it is correct why should this need to be here?
>>
>> REPORT FORM ap_state NOCONSOLE TO PRINTER NEXT nprintno
>>
.·*´¨)
.·`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"