Hi John,
It looks ok from here. I'm not sure what could be causing it.
You may want to start a new thread in "Troublshooting" and see if some else has any ideas.
>Hi Roi,
>> I hate to keep beating a dead bird, but got a quick question. <
>> I've got the folling code in my command button <
>> cGroupCode = THISFORM.text1.VALUE <
>> SELECT * FROM client ; <
>> WHERE group_code = cGroupCode ; <
>> INTO CURSOR Mycursor <
>> REPORT FORM POLICY.FRX FOR GROUP_CODE = cGroupCode PREVIEW <
>> IF _TALLY !=0
>> wait window 'FOUND MATCH, WILL PRINT REPORT ' <
>> ELSE <
>> wait window 'NO DATA MATCH, TRY AGAIN ' <
>>ENDIF <
>
>>RETURN <
>
>> It works when I run it by itself, but when I try to run it in my app <
>> it acts like its not getting a read event. Does my code look OK ? <
>
>> Thanks again <
>> John <
Roi
'MCP' Visual FoxPro
In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!